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 251
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 248 WHILE ... DO ... WEND loop structure The WHILE ... DO ... WEND construct is a conditional loop construct which allows the conditional execution of one or more program lines according to the result of a test carried out at the beginning of the loop. 16 loops can be nested. If the result of the test condition is FALSE, the code within the loop (i.e. between the test condition and the...
Page 252
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 249 XOFF define XOFF character The XOFF command is used in a number of ways to control software handshaking during data transfer. There are 4 variations: XOFF#[port] When used on its own, XOFF halts data transmission from the specified serial port. This provides a way to control the output data stream which otherwise can only be controlled via the CTS line. XON is used to re-enable...
Page 253
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 250 XON define XON character The XON command is used in a number of ways to control software handshaking during data transfer. There are three variations: XON #[port] When used on its own, XON re-enables data transmission after it has been halted using XOFF. If no port is specified, the default port as defined by OPORT is assumed. Note that CLEAR OUTPUT and ESCAPE will also re-...
Page 254
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 251 YEAR read/set year value YEAR is used to read or set the year value on the internal clock/calendar. When reading it returns an integer from 0 to 99. When setting, the year number from 0 to 99 must be specified. An incorrect value will leave the current setting unchanged. Examples: YEAR=89 PRINT YEAR Syntax: YEAR = [integer 0..99] [num-var] = YEAR See also: DATE$, DAY, DDAY,...
Page 255
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 252 Error Messages The ARGUS can generate about 100 different error messages. The associated text can be requested via the REPORT ERN command. The number of the last error message can be obtained via ERN; and the line which caused this error with ERL. Almost all error messages can be trapped and handled with ON ERROR, except: - NMI/STOP - STOP - Out of memory - Error in...
Page 256
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 253 No. message cause 0 OK File transfer was successful. 2 BASIC 6.xx BASIC version number. 3 ESCAPE Escape character received and ESCAPE was ON. 4 RESET A reset has occurred (power failure, button, RESET). 5 STOP Program execution has stopped by command STOP. 6 Cancelled File transfer cancelled with SEND or RECEIVE. 7 Failed FAX RECEIVE not successful or too many errors in...
Page 257
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 254 35 Array exist DIM of an already existing array. 36 ON/OFF expected ON or OFF missing after a command. 37 Type mismatch Integer and string in same expression. 38 No number/variable A number or variable is expected or missing. 39 Variable expected Variable name expected. 40 Bad DIM Syntax error in DIM command. 41 Label/Line expected A label or line number is expected. 42 = missing Equal...
Page 258
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 255 72 Bad name File name not correct. 73 Not found File(s) not found 74 Duplicate name File already exists while using RENAME. 75 * RESET * Used during trace mode. 76 * ERROR * Used during trace mode. 77 *AT* Used during trace mode. 78 * SLASH * Used during trace mode. 79 * RING * Used during trace mode. 80 * CONNECT * Used during trace mode. 81 * HANGUP * Used during trace mode. 82 *...
Page 259
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 256 BASIC Keywords and associated short forms ABS AB. ELSE EL. ADC AD. END E. ALL AL. ENGLISH ENG. ANSWER AN. ERL ERL ASC AS. ERN ERN AT AT ERROR ER. AUTO A. ESCAPE ES. BAUD BA. FALSE FA. BRK BR. FILE FI. BUFFER B/ FOR F. BUTTON BUT. FREQ FR. CALL CA. GERMAN GE. CHR$ CH. GET GET CLEAR C. GET$ GET. CLOCK$ CLO. GOSUB GOS. CONNECT CO. GOTO G. COPY COP. HANDSHAKE...
Page 260
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 257 PEEK PEEK THEN TH. PEEK$ PE. TIME$ TIME$ PLAY PL. TIMEOUT TI. POKE POKE TO TO POKE$ PO. TONE TO. PORT POR. TRACE T. PRINT ? TRIM$ TRI. PRINTER P. TRUE TRU. PTOP PT. UCASE UCASE PULSE PU. UCASE$ UC. PUT PUT UNTIL U. PUT$ PU. VAL VAL READ REA. VAL$ VA. RECEIVE REC. VOICE VO. RECORD RECO. VOLUME VOL. REM REM WAIT W. RENAME RENA. WEND WE. RENUM RE. WHILE WH....