CATCH [INCLUDE/ EXCLUDE] , string, variable, timeout, maxlength GOTO label Stores incoming information to the specified variable. e.g. CATCH INCLUDE, "OK" , R$ , 60 , 20 GOTO anerror This captures incoming data to the variable R$. The capturing will stop after a time of timeout (in this case 60 half-seconds), when the string "OK" is received, or when twenty characters have been received. The script jumps to the label (i. e. ‘anerror') if the given string is not received before either the timeout value or the maximum number of characters ( maxlength) is reached. Use INCLUDE if you want string to be included as part of the variable, or EXCLUDE if you do not.