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 211
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 208 RING ring counter The ring counter is increased with 1 on every ring that is received. The ring counter is the same as the modem S-register 1. You can read or set the value of the ring counter, but of course, it is fairly meaningless to set the value, unless you have a specific reason for doing so. Examples: IF RING=8 THEN GOTO %Answer PRINT RING Beep=RING Syntax: [num-var] = RING...
Page 212
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 209 ROM access RAM/ROM disk in socket 2 The ROM command is used to access the RAM/ROM-disk in socket 2 of an Argus Programmable Modem with RAM-disk filing system. Socket Organization There are 2 sockets to put a RAM chip into Socket 1 is the one nearest the 32k system RAM. Socket 2 is the one with the jumpers above it. If you want to have a RAM-disk filing system, there must always...
Page 213
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 210 All commands work exactly the same as the command without ROM in it, except the command LOAD ROM. LOAD ROM will look first in socket 1 and if it cant find the file there it will look in socket 2, when there is a ROM in it. Software can be developed then in such a way that the program in ROM can be overwritten or replaced by a program in RAM. See also: CLEAR, COPY, DIR, LOAD, MATCH,...
Page 214
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 211 RPT$ repeat string RPT$ is used to produce a string containing multiple repetitions of another string. The result of the following example will be to set X$ to ********** : X$=RPT$(*,10) Similarly, ab$=RPT$(ab,5) will set ab$ to ababababab. The resulting string must not be longer than 255 characters. Examples: Line$=RPT$(-,80) H$=RPT$(H,20) PRINT RPT$(>,15) Syntax: [string-var] =...
Page 215
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 212 RTRIM$ remove trailing spaces RTRIM$ is used to remove all trailing spaces of a string. Examples: PRINT RTRIM$ Test Adjusted$ = RTRIM$ Input$ Syntax: [string-var] = RTRIM$ [string] See also: LTRIM$, TRIM$
Page 216
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 213 RTS ready to send RTS is one of the hardware handshaking signals defined in the RS232 standard, and the two serial ports of the modem normally respond to the RTS input by stopping the outgoing data stream. The RTS signal is used in conjunction with CTS (Clear to Send) as part of the RS232 handshaking sequence which prevents loss of data when a receiving piece of equipment cannot...
Page 217
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 214 RUN run a program RUN is used to initiate the execution of a program. There are three forms of the command, the first of which is used to execute the program currently residing in memory at PBOT. In this case no parameter is required, and before execution commences all variables are cleared, and the data pointer restored to the first DATA command. The second form allows programs...
Page 218
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 215 RUN ROM run a program in ROM/RAM This command is used to run a program stored in a ROM/RAM in socket 2, in an Argus Programmable Modem. Example: RUN ROM MYPROG.BAS Syntax: RUN ROM [FILENAME] See also: ROM, RUN
Page 219
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 216 SAVE save program or data to memory SAVE is used to store BASIC programs on the disk. The command must be followed by the filename. It is recommended that you use extensions like .PRG or .BAS, to keep your programs separate from data files, faxes or messages. You can then use something like DIR *.PRG to list all your BASIC programs. SAVE is also used to save a block of memory to...
Page 220
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 217 SAVE ROM save files in RAM disk in socket 2 This command is used to save files to a RAM-disk in socket 2 in an Argus Programmable Modem. To initialize a RAM chip in socket 2, the command CLEAR ROM must be entered first. Syntax: SAVE ROM [FILENAME] See also: ROM, SAVE