90
C
LOSE see OPEN
CLS CLS
Clears the terminal screen.
C
OLLATE COLLATE (<string exp>)
Collates a string, by removing the differences between the characters that
are deemed unimportant for the purposes of sorting them.
CONNECT CONNECT <value> GOTO <label>
Waits for the current handshaking method to allow transmission. The
period to wait is specified in half-seconds. E.g.
CONNECT 20 GOTO again
SEND “Hello”
waits 10 seconds for the connection to be established. If it happens within
this time, the script jumps to the next command (“SEND”), otherwise it
moves to the ‘again’ label.
C
ONTINUE CONTINUE
Makes the script jump to the start of a REPEAT…UNTIL or
WHILE…DO…ENDWHILE loop.
C
OPY COPY <filename>,<filename>
Copies a file, from the location specified in the first string expression to the
location specified in the second. E.g.
COPY “C:\Logs\Logfile3”,“D:\Documents\logfile3”
will create a copy of the file ‘Logfile3’ in the specified directory on the D:
drive.
D
ELETE DELETE <filename>
Deletes a specified file. E.g.
DELETE “C:\Logs\Logfile3”
D
IR DIR (<string exp>)
Returns a directory listing of files. To list all the files in a directory, use the
following sequence of commands:
X$=DIR(“C:\Documents\scripts\*.*”)
WHILE X$<>“” DO
INFO X$
X$=DIR
ENDWHILE