home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 December
/
simtel1292_SIMTEL_1292_Walnut_Creek.iso
/
msdos
/
procomm
/
pcplus2.arc
/
ADDENDUM
next >
Wrap
Text File
|
1988-01-01
|
3KB
|
93 lines
PROCOMM PLUS - Addendum to the User's Manual
Copyright (C) 1987 DATASTORM TECHNOLOGIES, INC.
All Rights Reserved
The following additions and corrections apply to
PROCOMM PLUS version 1.0.
Additions:
------------------------------------------------------------------------
- An editor has been included with PROCOMM PLUS. The editor program,
called PCEDIT.EXE, is a small, fast text editor suitable for use writing
ASPECT scripts and the like. It is provided as a seperate executable
file called via the [Alt-A] editor command. It may be run standalone
as well with a command of the form "PCEDIT filename [/b]". The optional
"/b" parameter causes the editor to operate in black and white rather
than color for composite monitors. Help for PCEDIT may be obtained
by pressing [Alt-Z] from within the program.
- The Redisplay buffer has an additional command: W (Write file). When
selected, the contents of the Redisplay Buffer will be written to a disk
file of the specified name.
The ASPECT script language has the following additional commands:
- IF [NOT] HITKEY
The HITKEY condition of the IF command will test TRUE if a key has been
pressed and remains in the input buffer. For example, in the following
code fragment, execution will loop endlessly until a key is pressed.
WAIT:
IF NOT HITKEY
GOTO WAIT
ENDIF
- KEYGET Sx
The KEYGET command gets from the user's console a single key, and places
it in the specified string variable. This command allows you to get a
single keyustroke without requiring that [Enter] be pressed. The
characters placed in the string variable depend upon the key pressed.
For printable characters (ASCII values 32 through 126) the actual
character is used. For other keys, the scan code in hex is placed in
the variable. To determine what is returned by a given key, use the
following ASPECT commands:
TOP:
ATSAY 10 10 31 "Press any key: "
LOCATE 10 25
KEYGET S0
ATSAY 11 25 31 " "
FATSAY 11 10 31 "The value was: %s" S0
GOTO TOP
This command is very handy for building menus and the like where you can
SWITCH on the key pressed to perform a given function.
- IF [NOT] relation Nx Ny|integer
The IF relation commands tests for some arithmetic relation between two
numeric variables or a numeric variable and an integer constant. The
valid relations are:
GT - Greater than (Nx > Ny ?)
LT - Less than (Nx < Ny ?)
GE - Greater than or equal to (Nx >= Ny ?)
LE - Less than or equal to (Nx <= Ny ?)
EQ - Equal to (Nx = Ny ?)
For example, the following code segment tests if the value of N1 is
equal or greater to 25, and branches to a subroutine if it is.
IF GE N1 25
GOSUB SUB1
ENDIF
An additional IF condition has been added: MONO. For example, in
the following code fragment, the CLEAR command will be executed
if a monochrome monitor is detected.
IF MONO
CLEAR 7
ENDIF
Most ASPECT script commands have been modified to accept numeric
variables as well as constants for the ROW, COL and ATTRIB
parameters. For example, you may now use commands such as:
ATSAY N1 N2 N3 "Use variable row, column and attrib"
ATGET N1 N2 N3 N4 S0
etc