![]() ![]() |
|
OSWRITEWrites an OS file.
COMMAND SYNTAXOSWRITE Variable ON |TO expression {ON ERROR Statements}
SYNTAX ELEMENTS
NOTESThe jBC OSWRITE command writes the contents of an expression to a sequential file. jBASE uses the ASCII 0 character (CHAR(0)) as a string-end delimiter. For this reason, you cannot use ASCII 0 in any string variable in jBC. If jBC reads a string with a CHAR(0) character, and then the character is converted to CHAR(128), this command converts CHAR(128) to CHAR(0) when writing a block of characters.
EXAMPLES
RELATED COMMANDSOSOPEN, OSCLOSE, OSBREAD, OSBWRITE, OSREAD, OSDELETE |