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 191
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 188 Examples: RECEIVE MESSAGE RECEIVE B$+.TXT,T RECEIVE BINARY,X RECEIVE PROG+VAL$(Nr)+.BIN,X RECEIVE#3, Name$+.JAN RECEIVE Page$,B RECEIVE ROM TEXT,T Syntax: RECEIVE ( #[port] , ) [filename] ( ,T)(,F)(,A)(,X)(,B) RECEIVE ROM ... See also: DIR, PROTOCOL, ROM, SEND
Page 192
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 189 RECEIVE ALL receive disk backup The command RECEIVE ALL is normally used to receive a RAM-disk backup. It overwrites the complete contents of the RAM chip and only works if the file is created with SEND ALL. In a RAM-disk filing system this command differs from the command RECEIVE,C which expects a file created with SEND,C. In a Hard-disk filing system, this command is exactly the...
Page 193
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 190 RECEIVE TIMEOUT = [int] set Sreg66 timeout This command is used to set the timeout in S-register 66. This is used with RECEIVE,F,N. Note that time is set in 1/10 seconds. Example: RECEIVE TIMEOUT = 50 This will set the receive timeout to 5 seconds. Syntax: RECEIVE TIMEOUT = [integer] See also: RECEIVE
Page 194
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 191 RECORD [filename] record a voice file The command RECORD [filename] is used to store an encoded voice. Before entering the RECORD command, the following points are important to know: 1. The modem must be in voice-mode. This is done with the VOICE command. 2. A RAM buffer of at least 1024 bytes big must be difined with BUFFER. 3. The speech quality, bits per sample, must be set...
Page 195
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 192 ERN = 54 - : DTMF 6 detected ERN = 55 - : DTMF 7 detected ERN = 56 - : DTMF 8 detected ERN = 57 - : DTMF 9 detected ERN = 64 - : DTMF A detected ERN = 65 - : DTMF B detected ERN = 66 - : DTMF C detected ERN = 67 - : DTMF D detected Example: RECORD VOICE Syntax: RECORD [FILENAME] See also: ERN, HOOK, RESET MODEM, VOICE
Page 196
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 193 RECORD ON/OFF turn record mode on/off The command RECORD ON is used during testing only. It sets the record mode, without receiving a file. Data from the encoder can be read from port 3 (GET#3, LINK#3, etc.). The command RECORD OFF is used to turn off the record mode. This command must be issued when a recording is aborted by an event (TIMEOUT, ESCAPE, etc.). Syntax: RECORD...
Page 197
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 194 RECORD TIMEOUT [num] set record timeout An important variable used with the RECORD command is the Silent Timeout. With RECORD TIMEOUT you can change this. It is measured in 1/10th of a second. Changing S-register 66 (SREG66=(num)) has the same effect. The Silent Timeout determines when the recording is stopped, after a given period of silence. The Silent Timeout is started as soon...
Page 198
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 195 REM remark REM provides the means to include comments within a program. All text following the REM command up to the end of the line is treated as a comment, and is not executed. Examples: 10 REM Protocol Conversion program V2.0 400 GOSUB %Answer : REM Execute Auto-answer routine Syntax: REM text...
Page 199
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 196 RENAME rename files This command will change the name of any file in the filing system. Using wildcards is not allowed. Examples: RENAME TEST,MANUAL.TXT.ASC RENAME TEST TO MANUAL.TXT.ASC Syntax: RENAME (FILE|!) [string] TO|, (FILE|!) [string] See also: COPY
Page 200
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 197 RENUM renumber program RENUM is used to renumber program lines. Used on its own, RENUM renumbers the entire program using a default start line, and an increment of 10. Using RENUM with the following program stored in memory: 10 CLEAR 15 INPUT Enter password :;p$ 20 IF p$TULIP THEN END 25 PRINT Welcome to Argus... 30 .... would result in: 10 CLEAR 20 INPUT Enter password :;p$ 30 IF...