C-Hook Name: Animate.rex/txt Date: 06/01/93 Programmer: CNC Software Usage: Replay of specified levels. Price: No Charge Notes: The animate.prm file is written automatically and contains the name of the last .dat file used. The .dat file can be created with an editor and contains comments, file names, delays, levels and commands. Comments begin with a pound sign (#). All text following the pound sign will be ignored until the next line is read. File names are entered on a separate line. File names do not have to contain the geometry path. The default path will be used if none is specified. Delays, levels and commands are entered on the same line. The delay is the first entry. It must be zero or greater and may contain a decimal point. Levels are separated by dashes or commas. A dash is used to represent a range of levels. Three commands are recognized: R (repaint), P (pause) and E (end). The repaint command clears the screen before the levels listed on that line are displayed. If the repaint command is not used, then animate will draw old levels in black instead of clearing the screen. The pause command causes the system to wait for a mouse button after the levels listed in that line are displayed. The end command exits the animate C-Hook after the levels listed in that line are displayed. If the end command is not used, animate will repeat the commands in the .dat file until Esc is pressed. Example of animate.dat: # sample animation program animate.ge3 # read animate.ge3 0.1, 1, 255 # display levels 1 and 255 then delay 0.1 seconds 0.1, 2, 255 0.1, 3, 255, R # repaint before displaying levels 3 and 255 0.1, 4 - 8, 255 # display levels 4 - 8 and 255 0.1, 5, 255, P # pause after displaying levels 5 and 255 0.1, 6, 255, E # end the program after displaying levels 6 and 255 Warning: All geometry in the database will be lost. Distributor: CNC Software 344 Merrow Road Tolland, CT 06084-9970 Contact: CNC Software Phone: (203) 875-5006
mmp12