home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 16 / 16.iso / w / w048 / 2.ddi / MSSRC.ARC / MS.PAS < prev    next >
Encoding:
Pascal/Delphi Source File  |  1987-12-21  |  2.4 KB  |  59 lines

  1. {                              MS.PAS
  2.                                MS 4.0
  3.                 Copyright (c) 1985, 87 by Borland International, Inc.         }
  4.  
  5. program MS;
  6.   {-Full blown editor using the Turbo Editor Toolbox}
  7.  
  8. {$I msdirect.inc}            {Directives shared by all units}
  9. {$L-}                        {Conserve memory during linking}
  10. {$M 8192, 16384, 655360}
  11.  
  12. uses
  13.   Crt,                       {Basic video operations - standard unit}
  14.   Dos,                       {DOS interface - standard unit}
  15.   Errors,                    {Runtime error handler}
  16.   MsVars,                    {Global types and declarations}
  17.   MsScrn1,                   {Fast screen writing routines}
  18.   MsString,                  {String primitives}
  19.   MsPtrOp,                   {Pointer primitives}
  20.   EscSeq,                    {Returns text string for extended scan codes}
  21.   MsCmds,                    {Maps keystrokes to commands}
  22.   Int24,                     {DOS critical error handler}
  23.   Message,                   {Message system}
  24.   MsUser,                    {User keyboard input, line edit, error report, help}
  25.   MsMemOp,                   {Text buffer allocation and deallocation}
  26.   MsBack,                    {Background processes}
  27.   MsScrn2,                   {Editor screen updating}
  28.   MsMenu,                    {Pulldown and custom menu system}
  29.   MsDir,                     {Popup directory picker}
  30.   MsEdit,                    {Basic editing commands}
  31.   MsText,                    {Text processing commands}
  32.   MsTabs,                    {Tab commands}
  33.   MsBlok,                    {Block move, copy, delete}
  34.   MsFind,                    {Find, replace routines}
  35.   MsFile,                    {File I/O routines}
  36.   MsMacro,                   {Macro editing and processing}
  37.   MsSet,                     {Setup and installation}
  38.   MsPrtM,                    {Print job setup}
  39.   MsSpell,                   {Spelling checker}
  40.   Invoke,                    {General purpose DOS shell}
  41.   MsInvoke,                  {DOS shell for MicroStar}
  42.   MsMain;                    {Command dispatcher and top level commands}
  43.  
  44. begin                        {MicroStar}
  45.  
  46.   {Initialize toolbox data structures}
  47.   EdInitialize;
  48.  
  49.   {Set up for the first file}
  50.   EdMainMenu;
  51.  
  52.   {Start the keyboard polling loop}
  53.   EdSchedule;
  54.  
  55.   {Restore the screen}
  56.   EdRestoreScreenMode;
  57.  
  58. end.                         {MicroStar}
  59.