he MEXPLUS 1.65 Summary page #
MEXPLUS 1.65 Documentation Summary
0) Authors Nite-Owl and George M. Sipe
1) Precepts
<filespec� � [<drv><usr>:][<filename>][.<ext>]
<sring> � zero or more characters surrounded by double
quotes (e.g. "Testing")
care� ('^'� may prefix � contro� character
<string-var> = A B C D E or F (may contain up to 32 chars)
<string-expr> = <string> or <string-var>
<ascii-value� � zero to tw� character� surrounde� b� singl�
quotes (e.g. 'x')
<number-var> = %A, %B, ... %Z (from 0 to 65,535)
<number> = number, <number-var>, <ascii-value>, VALUE,
or STACK
numbe� prefixes are $=hex� #=decimal
<number-expr> = infix numeric expression with opt. parens
operator� are � - � � � <� � <� =� � >� =>
';� � multipl� comman� separato� (se� STA� SEP)
K: use Kermit protocol
M: use standard christensen Modem7 protocol (default)
Y: use Ymodem modified christensen protocol
�5� Secondar� command� (Secondar� options)
COMMANDS
OP� NAM� USE� WIT� ACTION
--- -------- --------- ------
� Appen� E, L, and T Appen� t� � file
� Batc� � an� � Batch fil� transfers
� Disconnec� � an� � Disconnect� afte� transfer
E Echo E, L, and T enter term mode with Echo
� K-packet S sen� 1� blk�, accept any
� Loca� E and T Local-characte� echo
� Quie� � an� � "Quie� mode� fil� transfer
� Recv-vie� � an� � show� Received-char� only
� Send-vie� � an� � show� Sent char� only
� Terminal-mod� � an� � ente� Ter� afte� fil� xfer
V Vie� � an� � View� th� fil� transfe�
� Exi� � an� � disc/eXi� afte� transfer
MEXPLUS 1.65 Command Summary
. - comment follows
? - lists avaliable commands
= - assignment operator for <string-var> and
<number-var� (e.g� %a=%b=1� wher� th�
second = compares %b to 1, and the
result, 0 or 1, is assigned to %a)
@ <row>,<column> [SAY <string-expr> | <numeric-expr> [, ...] ]
- positions cursor to <row> and <col>
SAY displays expression(s)
ACCEPT <string-var>[,<length>]
- sets A B C D E or F from operator input
optional maximum length (up to 32)
AL� [<drv>][<usr>�] - driv� � use� t� searc� fo� ME� LOA� file�
(.MEX, .KEY, .PHN, .LIB, .MOD, .OVR)
default disk is 'A', default user is '0'
uses search strategy specified by SEARCH
if no argument, displays current setting
END REV | BRITE | BLINK | ULINE
- turns off specified video attribute
EXIT - exi�s t� system� mode� no� disconnected
GLOBA� [<2ndopt�] - caus�s secondar� optio� <2ndopt� t� b� o�
fo� al� primar� options (default: none)
<2ndopt>='?' will list available settings
<2ndopt>='-' will erase current setting
if no argument, displays current setting
GLOBAL READ <string-expr>
- causes <string-expr> to be run in place of
returning to MEX command mode
�
GOTO <label> - transfer control to <label> in batch file
(note: <label> must not be in different
IF block)
GOSUB <proc> - invoke subroutine <proc> in batch file
SAV� <filespec� - sav�s MEX'� LOA� file� (.KEY and .PHN)
SAY <string-expr> | <numeric-expr> [, ...]
- displays expression(s) at cursor position
SCREEN ON | OFF - turns screen output on or off
automatically goes on when READ terminates
�
SENDOU� <string-expr> - sends <string-expr> to remote
VALUE set to 0 if ok, 1 if failed
SET - control hardware overlay functions
SLEE� <num-secs> - invoke� delay, ^� will abort
SSET - control modem overlay functions
START REV | BRITE | BLINK | ULINE
- turns on specified video attribute
cp 2
�VALUE [<number>] - sets VALUE to <number>
or displays VALUE and STACK in decimal/hex
VER - prints the MEX version number and places it
into VALUE
VIEW - displa�s content� o� the ASCII capture
buffer on the screen
VLINE <row>[,]<column>[,]<length>
- draws line down of specified length
WAIT {DATE mm/dd | TIME hh:mm}
- waits for the specified date or time
VALUE set to hh:mm or unchanged if aborted
WAIT SILENCE [<time>] - waits until no more modem characters
<time> is required idle time (default is
REPLY variable value) in seconds
max characters received of WLIM variable
VALUE set to 0 if ok, 1 if > WLIM chars
WAI� STRIN� [<time>] <string-expr� [<string-expr>...]
- waits until any of up to 4 strings are
received from modem
<time> is maximum wait time (default is
REPLY variable value) in seconds
honors CASE switch and WLIM variable
VALUE set to 0 if time-out, else 1-4
WR� - writes� close� ope� captur� fil� t� disk
MEXPLUS 1.65 Backward Compatible Command Summary
ADD <number> - adds <number> to VALUE
BYE - (same as REO LOGOUT)
CP� - (sam� a� EXIT)
DATE - (same as TIME)
DO - (same as READ)
DOS - (same as EXIT)
ER�[SE] <filespec� [V� - same as DEL except requires <filespec>
POP - sets VALUE from STACK variable
PUSH - sets STACK from VALUE variable
�QUIT - (same as EXIT)
SKIPIF (operator)<number>
- skips next command if condition is true
- compares <number> to VALUE using (operator)
- operators: "=", "!", ">", and "<"
STORE <string-expr> to <string-var>
- sets A B C D E or F from <string-expr>
equivalent t� <string-var>=<string-expr>
SUB <number> - subtracts <number> from VALUE
SYSTE� - (same as EXIT)
XCHG - exchanges VALUE and STACK variables
XOR <number> - exclusive ors <number> to VALUE
MEXPLUS 1.65 KSET variables
CHECK [1 | 2 | 3] - Kermit error-check type
MODE [ASCII | BINARY | DEFAULT]
- Kermit transfer mode