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 51
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 48 CONNECT connect to remote modem CONNECT is identical to the modem command O (ATO). The modem will take the line, wait for an incoming carrier and try to connect to it. The connection will only be established, when the configuration of the relevant S-registers matches the remote carrier. The ON CONNECT event can be used to detect a successful connection. This can also be determined...
Page 52
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 49 COPY copy files This command is used to copy one file on the disk to another file. The new file is identical to the original one. Using wildcards (* or ?) is not possible. Examples: COPY MYPROG , MYPROG.BAK COPY MYPROG TO MYPROG.BAK Syntax: COPY (FILE|!) [string] (TO|,) (FILE|!) [string] See also: LOAD, SAVE, SEND, RECEIVE, DIR
Page 53
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 50 CTS Clear To Send CTS is one of the hardware handshaking signals defined in the RS232 standard, and each serial port on the modem is capable of controlling a CTS signal as an output. CTS is a signal provided by modems and other DCEs, to inform the terminal (DTE) that it is ready to accept data for transmission. It is used in conjunction with another signal, RTS (Ready To Send) as part...
Page 54
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 51 DATA define constant data The DATA command is used to store numeric and string constants within a program. Such values may be read one or more times using the READ command. DATA commands may appear anywhere in the program, but must be the first and only command appearing on a line. As many data items as will fit on a line may be included, with individual data items being separated by...
Page 55
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 52 DATE$ read system date DATE$ is used to read the date from the internal clock/calendar, and format it into a text string in the form DD-MM-YY. When I wrote this text on the 23rd of July 1990, PRINT DATE$ reported 23-07-90. The date can also be obtained in integer format by using the individual functions DAY, DDAY, MONTH and YEAR. DATE$ can also be used to change the system date....
Page 56
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 53 DAY read/set day of week DAY is used to read or set the day of week on the internal clock/calendar. When reading it returns an integer from 1 to 7, day 1 being Sunday. Similarly, when setting the day of week, the day number from 1 to 7 must be specified. An incorrect value will cause the current setting to remain unchanged. Examples: DAY=5 IF DAY=1 THEN Day$=Sunday PRINT DAY Syntax:...
Page 57
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 54 DCD Data Carrier Detect DCD is the RS232 signal used by modems to indicate that a connection has been established with a remote system. It is activated by the modem when a connection occurs, and is normally used as an output from the modem. However within the BASIC environment, it can also be used to read the connect status of modem port #3. With port #1 or #2 the DCD command is used...
Page 58
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 55 DDAY read/set day in month DDAY is used to read or set the day within the month for the internal clock/calendar. When reading it returns an integer from 1 to 31. Similarly when setting, the day number from 1 to 31 must be specified; an incorrect value will cause the current setting to remain unchanged. Examples: DDAY=15 IF (DDAY=1 OR DDAY=21 OR DDAY=31) Suffix=st PRINT DDAY Syntax:...
Page 59
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 56 DELETE / DEL delete program lines/files The DELETE command, in its various forms, is used to delete lines from a program and to delete files from the disk filing system. Deleting program lines DELETE may be followed by two line numbers which define the range of lines to be removed. The command: DELETE 50,100 or DELETE 50 TO 100 will remove all program lines from 50 to 100 (inclusive)....
Page 60
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 57 DELETE *.ANN,U Syntax: Program lines: DELETE [line-num | label] TO|, [line-num | label] RAM-, FLASH - or Hard-disk files: DELETE (!/FILE) [string] ( ,U ) See also: MATCH