|
||||
|
|
||||
|
PC Access for Windows Reference Guidefor PC Access Version 4.30![]() ![]() ![]()
Script Command: storeFormat: store into VARIABLE_NAME {until "string" limit n}; The store command stores information arriving from the remote host into a script variable. You may set the store command to store data until "string" arrives from the host and/or a total of n characters arrive. You may use until and limit together or independently. The store command can store a maximum of 256 characters into the variable. (If you omit limit n, that is equivalent to specifying limit 256.) The store command does not store the contents of "string" in the variable. Example: label START; store into @TEST until "^M" limit 20; The command above stores up to 20 characters from the host. If the host were to send a carriage return (^M) or 20 characters with no carriage return, PC Access would stop storing characters into @TEST and proceed to the next script command.
![]() ![]() ![]()
| |||