Home > Vidicode > Communications System > Vidicode Argus Basic Programmers Reference Manual

Vidicode Argus Basic Programmers Reference Manual

Here you can view all the pages of manual Vidicode Argus Basic Programmers Reference Manual. The Vidicode manuals for Communications System are available online for free. You can easily download all the documents as PDF.

Page 201

ARGUS Programmable Modem 
BASIC Programmers Reference Manual 
© 1990 - 1997 Vidicode Datacommunicatie BV 
198
  
REPEAT ... UNTIL    loop structure 
REPEAT ... UNTIL provides a conditional loop construct in which all commands within the loop are executed at least 
once before a test condition is checked to determine whether or not the loop should be repeated.  If the test condition 
evaluates to be TRUE, then the commands within the loop are repeated; otherwise execution continues at the next 
command...

Page 202

ARGUS Programmable Modem 
BASIC Programmers Reference Manual 
© 1990 - 1997 Vidicode Datacommunicatie BV 
199
  
REPORT    report result or error 
REPORT is used to send a result code or error message to the specified port. 
REPORT ERN 
This command is used to report BASIC error messages. 
 
Two parameters may be given; the port number(s) and the number corresponding to the error message required.  If no error 
number is specified, the number of the last error encountered will be used, and the...

Page 203

ARGUS Programmable Modem 
BASIC Programmers Reference Manual 
© 1990 - 1997 Vidicode Datacommunicatie BV 
200
  
RESET    generate hardware reset 
RESET is used to generate a hardware reset from within a program, the result of which is equivalent to pressing the RESET 
button on the front panel.  It is generally used in conjunction with an ON RESET command to restart the program at a 
particular point. 
 
Because there is a special chip in your modem (known as the watchdog & power monitor), the RESET...

Page 204

ARGUS Programmable Modem 
BASIC Programmers Reference Manual 
© 1990 - 1997 Vidicode Datacommunicatie BV 
201
  
RESET ALL SREG    reset all S-registers 
Used to reset all S-registers to factory settings (same as AT&F). 
Syntax: 
RESET ALL SREG
See also: 
SREG
  

Page 205

ARGUS Programmable Modem 
BASIC Programmers Reference Manual 
© 1990 - 1997 Vidicode Datacommunicatie BV 
202
  
RESET MODEM 2    reset modem-chip  
This command is used to software reset the modem-chip only.  If the modem-chip was in sleep-mode it will be waken up first.  
The command is used to switch between the different modes; modem, fax or voice.  After RESET MODEM 2 the modem 
is in modem-mode. 
 
Sleep-mode brings the modem-chip in low power mode.  This feature is default enabled.  The commands...

Page 206

ARGUS Programmable Modem 
BASIC Programmers Reference Manual 
© 1990 - 1997 Vidicode Datacommunicatie BV 
203
  
RESTORE    pointer to data command/buffer/RAM-disk 
RESTORE is used in conjunction with the DATA and READ commands to reset the data pointer to a particular DATA 
command which is identified by its line number or label, and therefore allows data to be read in a non-sequential manner. 
The RESTORE command is followed by the line number or label of the line containing the requisite DATA command....

Page 207

ARGUS Programmable Modem 
BASIC Programmers Reference Manual 
© 1990 - 1997 Vidicode Datacommunicatie BV 
204
  
RESULT    status of modem 
RESULT is a function which holds the status of the last modem activity after a modem command. 
   RESULT  DESCRIPTION 
0OK
: Modem command was successful 
1 CONNECT
: Connection at 300 baud (or fax connection) 
2 RING
: A ring is being received 
3 NO CARRIER
: Handshake with other modem or fax has failed 
4 ERROR
: Error in executing a modem command 
5 CONNECT 1200
:...

Page 208

ARGUS Programmable Modem 
BASIC Programmers Reference Manual 
© 1990 - 1997 Vidicode Datacommunicatie BV 
205
  
Example: 
R=RESULT
IF RESULT GOTO Error
Syntax: 
RESULT 

Page 209

ARGUS Programmable Modem 
BASIC Programmers Reference Manual 
© 1990 - 1997 Vidicode Datacommunicatie BV 
206
  
RETURN    Return from procedure/set return character 
The command RETURN is used for two purposes: 
1. Return from procedure 
(see GOSUB ... RETURN) 
2. Set value of RETURN character. 
The ASCII value of the return character as sent by the modem can be set with use of the command RETURN or the modem 
S-register S3. 
Examples: 
RETURN
RETURN=13
Syntax: 
RETURN
RETURN = [num-var]
See also:...

Page 210

ARGUS Programmable Modem 
BASIC Programmers Reference Manual 
© 1990 - 1997 Vidicode Datacommunicatie BV 
207
  
RIGHT$    extract right portion of string 
RIGHT$ extracts the specified number of characters from the right-hand side of a string.  The command: 
R$=RIGHT$(ABCDEFGH,3)
will assign the string FGH to the string variable A$. 
 
The number of characters extracted must be between 0 and 255.  Attempts to extract more characters than exist in the string 
will return the entire string. 
 
Examples:...
Start reading Vidicode Argus Basic Programmers Reference Manual

Related Manuals for Vidicode Argus Basic Programmers Reference Manual

All Vidicode manuals