home *** CD-ROM | disk | FTP | other *** search
/ CD-ROM Magazin 1996 November / CD_11_96.ISO / lingo.ini < prev    next >
Text File  |  1996-08-04  |  1KB  |  30 lines

  1. -- This is the text file LINGO.INI.  It is designed
  2. -- to tell Director for Windows what Xtras, XObjects, or
  3. -- DLLs should be loaded when starting DIRECTOR.EXE.
  4.  
  5. -- You should have a copy of this file and the associated
  6. -- DLL file (for example, FILEIO.DLL) in the same 
  7. -- location as any Projector you wish to distribute.
  8. -- Otherwise, the Projector will not be able to utilize
  9. -- the features of the DLL you want to use.
  10.  
  11. -- To comment out one of the lines below, use two dashes (--)
  12. -- as in the beginning of these lines.
  13.  
  14. -- Loaded are:
  15. -- FILEIO.DLL, for file input and output
  16.  
  17. on startup
  18. --    put "Now loading LINGO.INI"&&the date&&the time
  19. --    put "This computer is running in "&& the colorDepth &"-bit color depth."
  20. --  set the centerStage to TRUE
  21. if the machinetype =256 then
  22.     openxlib "fileio"
  23.     -- Following line prevents crashes on Windows systems when using math functions 
  24.     -- such as power or log and passing bogus or extremely large/small values.
  25.     -- Invoking the float->string conversion code  with a valid value prevents
  26.     -- future crashes in this routine.  drs  1mar96 
  27.     if string(0.0)="a" then nothing
  28. end if
  29. end startup
  30.