


Format:
readdata @VARIABLE {@VARIABLE...} eof LABEL;
The readdata command reads lines of data from the data file you previously opened with the opendata command. The command is followed by a list of up to 32 variables and an optional LABEL name to go to when the end of the input file arrives. Each readdata command reads one line from the data file and assigns a value to each corresponding variable.
Example data file for opendata and readdata:
"HI","THERE","EVERYONE.","123456"
"GOOD","BYE"
Example script file:
opendata "test.in";
readdata @A, @B, @C, @D;
readdata @E, @F;
closedata;
send @A;
send @B;
send @C;
send @D;
send @E;
send @F;
exit;
This script would send the following to the host:
HITHEREEVERYONE123456GOODBYE


