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 71
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 68 DUTCH select language and screen mode The command DUTCH will, like ENGLISH, select the language for the few written messages that are part of the system. The reason for this is that these messages will also occasionally be sent over the telephone line to remote users. This is especially the case when the modem is used as an electronic mail computer. The 5 possible parameters behind...
Page 72
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 69 ECHO enable/disable character echo ECHO is used to turn local character echo on or off. While in command mode or when using the INPUT or AT commands, characters received via the input port are echoed back so that the sender can see what has been received (or, in the case of a terminal, what he is typing). This is known as local echo. If both the modem and the users terminal provide...
Page 73
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 70 END end of program The END command is used to terminate program execution and return to command mode. For example: 50 Ch$=GET$ 60 IF Ch$=Q or Ch$=q THEN END END is also used in conjunction with the TIMEOUT command to indicate the end of a timeout subroutine. Example: END Syntax: END See also: ON TIMEOUT, STOP
Page 74
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 71 ENGLISH select language and screen mode The command ENGLISH will, like DUTCH, select the language for the few written messages that are part of the system. The reason for this is that these messages will also occasionally be sent over the telephone line to remote users. This is especially the case when the modem is used as an electronic mail computer. The 5 possible parameters behind...
Page 75
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 72 EOR logical Exclusive OR EOR performs a bitwise logical Exclusive OR operation on two numeric values; i.e. each bit of the first operand is Exclusive ORed with the equivalent bit in the second operand. The result of 12 EOR 5 is therefore calculated as follows: operand1 12 = 00000000 00001100 operand2 5 = 00000000 00000101 result 9 = 00000000 00001001 The most common use of EOR is...
Page 76
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 73 ERL error line ERL is a system variable that contains the number of the line that is currently being executed. As a result of this, when an error occurs, ERL contains the line number in which the error occurred. Therefore you should be careful. ERL should be stored or printed in the first line of the error handler routine. Examples: ON ERROR PRINT ERL ON ERROR PRINT Program halted...
Page 77
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 74 ERN error number ERN is a system variable that contains the number of the last error that occurred. A complete list of error messages and the associated codes generated by the Argus BASIC interpreter is given in the Error Messages section of this manual. ERN is also an important variable for the filing system. Example: PRINT ERN Syntax: [num-var] = ERN See also: ERL, ON ERROR,...
Page 78
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 75 ESCAPE set Escape character The ESCAPE command is used to define the ASCII character that the modem treats as an Escape code (this is only sometimes related to the [Esc] key on your keyboard). An Escape is used to interrupt the execution or listing of a program. The default value for ESCAPE is [Ctrl-C]. For instance, to use ASCII character 04 ( [Ctrl-D] ), as the ESCAPE character...
Page 79
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 76 FALSE Boolean system variable FALSE is a system variable which returns the value 0, and it is used in many logical operations to make programs more readable. A further advantage of using FALSE (in the correct context), is that it uses only 1 byte of storage, whereas the integer 0 occupies 2 bytes. Examples: Ready=FALSE REPEAT ... UNTIL FALSE IF X=FALSE Syntax: [num-var] = FALSE See...
Page 80
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 77 FAX MODEM ON/OFF enable/disable selector This is used in the programming environment to enable/disable the Fax Modem selector. Same as AT *F3. The selector is used during the first stage after answering a call. It will wait some time for a Fax or Modem Calling Tone (1100 or 1300 Hz). Default 5 seconds is waited and this can be changed by setting SREG62 per 100 ms. If no Calling Tone...