![]() ![]() |
|
WEOFThe WEOF statement allows the program to write an EOF mark on an attached tape device.
COMMAND SYNTAXWEOF {ON expression}
SYNTAX ELEMENTSexpression specifies the device channel to use. Should evaluate to a numeric integer argument in the range 0-9. Default value is 0.
NOTESIf the WEOF fails then the statements associated with any ELSE clause will be executed. SYSTEM(0) will return the reason for the failure as follows:
NOTESA "tape" does not refer to magnetic tape devices only but any device that has been described to jBASE. If no tape device has been assigned to the channel specified then the jBASE debugger is entered with an appropriate message.
EXAMPLES
|