Operations

Top  Previous  Next

The lines in the file following the function define the operations needed to perform that function. The list of operations is terminated by the next function definition or the end of the file.

 

There are three types of operation:

 


EXECUTE fn arguments

The function fn is executed as a command with the given arguments.


FILE filename

A new text file with the given name is created. All the subsequent lines in the command.dat file that start with a colon are written to the file (leading whitespace and the colon are not written). Writing to the file stops as soon as a line that does not start with a colon is reached.


DELETE filename

The file with the given name is deleted

 

 

.