home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / d / d009_2 / 1.ddi / SAMPLES / DOCS / LOGDISK.MS$ / LOGDISK.bin
Encoding:
Text File  |  1992-02-03  |  1.1 KB  |  32 lines

  1. '*********************** LOGDISK.MST *************************************
  2. 'Demonstrates:  FastTest's procedures to log information to disk.
  3. '
  4. 'Required Files: FASTTEST.INC, NOTEPAD.EXE
  5. '
  6. 'Uses: FASTTEST
  7. '
  8. 'Complexity Level: INTRODUCTORY
  9. '
  10. 'Notes:
  11. '
  12. '*************************************************************************
  13.  
  14. '$INCLUDE 'FASTTEST.INC'                 '*** Include all necessary files
  15.  
  16. XSetLogOptions LOG_DISK                  '*** Output errors to the Disk.
  17. XSetLogFileName "TEST001.LOG"            '*** Set name of the log file
  18.  
  19. XLog "Windows Notepad Program Test"      '*** Log header information
  20. XLog ""                                  '*** Log a blank line for
  21.                                          '*** spacing
  22. XLog "Date: 04-08-91"                    '*** More log header
  23.                                          '*** information
  24. XLogBanner "Starting Test..."            '*** Output a banner to the
  25.                                          '*** log file
  26.  
  27. XStartApp "notepad.exe", ""              '*** Start the application
  28. XLog "Application started...."
  29. XLog "End of Test...No Errors Detected"
  30. END
  31.  
  32.