omron — FCMND program instruction

FCMND program instruction 19 Assert the creation date/time for the file currently open on the specified logical unit. This command can be issued at any time a disk file is opened. Once asserted, when the file is closed, the file's creation date and time are set equal to the specified values rather than the current date and time. Also, if this command is issued when the file is closed, eV+ does not automatically assert the not archived bit. The input string must contain date and time , where: date is a 16-bit integer word representing the date in the standard compressed format used by the TIME and $TIME functions.

time is a 16-bit integer word representing the time in the standard compressed format. This command code applies only to local disk drives. 20 Return the number of unused and total number of KB on a local disk. The returned string is in the form uuuuu/ttttt where uuuuu is the number of unused KB and ttttt is the total number of KB. A file must be open on the drive (with prereads disabled). The open file identifies the disk unit. 21 Read the creation date/time for the file currently open on the specified logical unit. This command can be issued any time after a file has been opened.

Normally, this command returns the values that are read from the disk directory at the time the file was opened. However, if an FCMND 19 instruction has been issued to assert file creation date and time, FCMND 21 returns the value set by FCMND 19. The string returned by this command contains date and time (use INTB to extract the values), where date is a 16-bit integer word representing the date in the standard compressed format used by the TIME and $TIME functions. time is a 16-bit integer word representing the time in the standard compressed format. This command code applies only to local disk drives.

Serial Line Command Codes 102 Clear the type-ahead buffer for a serial line, or clear the event queue for a graphics window. This command, which is recognized only by the serial communication lines and the graphics logical units, does not process any arguments. eV+Language Reference Guide, v2.x, 18319-000 Rev A Page 221