home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-12-21 | 1.2 KB | 42 lines | [TEXT/MPS ] |
- { MLACS.p }
- { Copyright © 1988 - 1990 by Apple Computer, Inc. All rights reserved. }
-
- program LACS;
-
- {$MC68020-} { The main program must be universal code. }
- {$MC68881-}
-
- uses
- { • Required for this unit's interface }
-
- { • MacApp }
- UMacApp,
-
- { • Building Blocks }
- UPrinting, UGridView, UTEView, UDialog,
-
- { • Implementation use }
- ToolUtils, Fonts, Resources, Packages, Notification, AppleTalk, ADSP, ULACS;
-
- var
-
- gLACSApplication: TLACSApplication; { The application object. }
-
- begin
- InitToolBox; { Essential toolbox and utilities initialization. }
- if ValidateConfiguration(gConfiguration) then { Make sure we can run. }
- begin
- { Continue with remainder of initialization }
- InitUMacApp(12); { Initialize MacApp; 12 calls to MoreMasters. }
- InitUTEView; { Initialize TEView unit. }
- InitUDialog; { Initialize other units. }
- InitUGridView;
-
- New(gLACSApplication); { Allocate a new application object. }
- FailNil(gLACSApplication);
- gLACSApplication.ILACSApplication('rums'); { Initialize that new object. }
- gLACSApplication.Run; { Run the application. }
- end
- else StdAlert(phUnsupportedConfiguration);
- end.
-