Download gaddsref
Transcript
File Routines 3.9 File > Logfile • Create a new log file and start recording Menu Command: File > Logfile File > Logfile > Enabled Accelerator: None User Level: 1 SLAM Syntax: LOGFILE /NEW $1 /APPEND LOGFILE [/ON | /OFF] The File > LogFile commands are used to maintain a record of all of a user's interaction with the system. This record is referred to as the “log file” or “logfile.” Logfiles are standard ASCII text files that can be typed, edited, printed, etc. like any other text file. When you start recording to a log file, you have the option of appending to the file or overwriting it if it already exists. GADDS Software Reference Manual stamp, and any non-graphic command output. For example, the cursor commands write the statistics at the final cursor position to the log file, Analyze > Cursor writes a copy of any 17 x 17 pixel dumps, Process > Stress > Biaxial2D writes a copy of the contents of its scrollable output window, etc. Commands and output are added to the log file until the File > LogFile > Enabled option is turned off or the user switches projects, which will automatically close any open log file. The File > LogFile > Enabled command does not actually close the log file; it just tells the program to temporarily stop writing output to the file. If you need to access the current log file in another process while GADDS is still running, for example to edit it from another window, you should close the file first. You can close the log file by running File > LogFile with another filename. The program will close the current file before starting a new one. The File > LogFile > Enabled command toggles the current state of recording to the log file. If logging is enabled, the command disables it. If logging is disabled, the command re-enables it. A check mark is displayed in the menu next to the File > LogFile > Enabled command if logging is currently enabled. From the SLAM command line, LOGFILE /ON and LOGFILE /OFF enable and disable scripting, respectively. The log file records each command issued, along with its parameter values, a date/time 3 - 16 M86-E01008