home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 2
/
ctrom_ii_b.zip
/
ctrom_ii_b
/
OS2
/
DATACOM
/
LOGICOM
/
SCRIPT.TXT
< prev
Wrap
Text File
|
1990-01-11
|
5KB
|
155 lines
Purchasers of the commercial version of LogiCOMM obtain a comprehensive
script programming language, host mode for remote telecommunications,
several example logon scripts and two printed and bound manuals.
The following is a list of all LogiCOMM script commands grouped functionally.
ARITHMETIC COMMANDS
AND bit-wise AND of operands.
ATOI convert string to integer.
DECREMENT decrement variable by 1.
INCREMENT increment variable by 1.
ITOA convert integer to string (signed).
LAND logical AND of operands.
LOR logical OR of operands.
LXOR logical exclusive-OR of operands.
OR bit-wise OR of operands.
SUB subtract two operands.
SUM add two operands.
UTOA convert integer to string (unsigned).
XOR bit-wise exclusive-OR of operands.
COMMUNICATIONS I/O COMMANDS
ANSWERON transmit auto answer string to modem.
DIAL dial a number in dialing library.
DOWNLOAD download a file with a protocol.
FLUSH flush communications port buffer.
HANGUP hang up connection.
MACRO transmit macro string.
MDIAL manually dial a number.
REDIAL redial last number.
REMOTEGET get string from communications port.
SENDBREAK send break signal.
SENDINIT send modem initialization string.
TRANSMIT transmit string to communications port.
UPLOAD upload a file with a protocol.
WAITFOR wait for a string from the serial port.
CONSOLE I/O COMMANDS
ALARM sound alarm at console.
CLRSCREEN clear video screen.
DRAWBOX draw text box on screen.
GET get string from console.
GETCHAR get character from keyboard.
GETSTRING get string at X-Y coordinate.
GOTOXY position cursor.
HIDECURSOR hide cursor.
KBDFLUSH flush keyboard buffer.
MESSAGE print message to console.
POPUPDONE end video popup.
POPUPSTART start video popup.
PUTSTRING display string on screen.
SHOWCURSOR display cursor.
FILE I/O COMMANDS
FCLOSEI close input file.
FCLOSEO close output file.
FGETC get character from input file.
FGETS get string from input file.
FOPENI open input file.
FOPENO open output file.
FPOSI position input file pointer.
FPOSO position output file pointer.
FPUTC write character to output file.
FPUTS write string to output file.
FREAD read block from input file.
FWRITE write block to output file.
FLOW COMMANDS
CALL call a script file as a subroutine.
CHAIN transfer execution to another file.
EXIT exit current script file.
GOSUB call subroutine in same script file.
GOTO go to a label in current file.
RETURN return from a local subroutine call.
STOP stop all script files.
SET COMMANDS
SET ALARMS turns console alarm on or off.
SET ALARM_TIME sets duration of console alarm.
SET ASC_CH_PACE sets delay between characters
during an ASCII upload.
SET ASC_CR_PACE sets delay at end of line during
an ASCII upload.
SET ASC_LF determines whether line-feeds are
expanded during an ASCII upload.
SET ASC_PACE sets the ASCII pace character for
an ASCII upload.
SET BAUD sets the baud rate.
SET CISAUTO turns CIS automatic protocol
on or off.
SET CRLF determines if a line-feed should be
added to incoming carriage returns.
SET CTIME sets carrier time-out value.
SET DATA sets number of bits in data.
SET DLDIR sets default download directory.
SET DTR sets DTR control on or off.
SET ECHO sets local echo on or off.
SET KEYFLUSH turns keyboard flushing during
script execution on or off.
SET PARITY sets parity used.
SET POPUP determines if popups will be used
to notify user.
SET PORT sets communication port used.
SET REMOTE_ECHO sets echo to remote system, on or off.
SET RTS sets RTS flow control on or off.
SET SCREENCOLOR sets default screencolor.
SET SCREENECHO controls flushing of serial port to screen
during script execution.
SET STOPBITS sets number of stop bits used.
SET VT100 selects terminal emulation.
SET XONXOFF sets XON/XOFF flow control on or off.
STRING COMMANDS
STRCAT concatenate two strings.
STRLEFT get substring from left of string.
STRLEN get string length.
STRMID get substring from middle of string.
STRRIGHT get substring from right of string.
TOLOWER translate string to lower case.
TOUPPER translate string to upper case.
MISCELLANEOUS COMMANDS
ASSIGN copy one operand to another.
ATCANCEL cancel pending script file
ATTIME start a script file at a given time.
BEEP beep speaker at desired frequency.
CHDIR change current directory.
COMSHELL synchronous shell to OS/2 with I/O
redirection.
DATE$ get current date.
DELAY pause (milliseconds).
DIR display directory.
HELP display help menus.
LOADDIAL load dialing directory.
LOADMACRO load macro file.
LOADSMACRO load script macro file.
LOGCLOSE close log file.
LOGOPEN open log file.
LOGTOGGLE toggle log file.
PAUSE pause (seconds).
PRINTER toggle printer online/offline.
RUNPROG run another program asynchronously.
SETTINGS change line settings.
SETUP change LogiCOMM configuration.
TIME$ get current time.
TRACE turn trace mode on or off.