Back Previous Next


Linguist basic package - write

Syntax:

   write [line] {value} to {file}
   write [line] {value} to file {filename}

Keyword handler:

   net.eclecity.linguist.basic.keyword.BasicKWrite.class

Runtime handler:

   net.eclecity.linguist.basic.handler.BasicHWrite.class

Function:

This writes a value to a disk file. See also read. The file can be identified either by a file variable or by a string that provides an appropriate path name.

If the word line is included, a line end is added to the data being written.

Example(s):

   write "The value is " and Value and return to OutputFile
   write the free memory cat " " cat the total memory to file "memory.log"
   write line LineBuffer to OutputFile


Back Previous Next