home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
BEEHIVE
/
ZSUS
/
Z3HELP-3.LBR
/
P.LBR
/
PAUSE.HZP
/
PAUSE.HLP
Wrap
Text File
|
2000-06-30
|
2KB
|
57 lines
;
PAUSE.COM
Size (recs) CRC Version Author/Latest Issue Disk
2k (12) 939E 1.1 Jay Sage 9/87 Z3COM7
1- Syntax/Options 2- Notes 3- Examples of Use
PAUSE is derived from SAK.COM and is used:
1) to wait for user interaction before continuing and to allow the user
to abort a multiple command line, abort ZEX, or set/clear the program
error flag; and/or
2) to command the user's attention by ringing the bell at his console.
PAUSE includes an F option to set or reset the program error flag instead
of aborting command line or ZEX. Thus PAUSE can be like "IF INPUT" except
that a a default answer of TRUE is given after pause time elapses.
:1
Syntax: PAUSE text
or PAUSE /o... text
Options: A -- DO NOT Allow the User to Abort MCL
B -- Ring Bell
F -- Set/Reset Program Error Flag (No Abort)
Pnnnn -- Pause nnnn seconds and continue if no
response by that time
Z -- Allow the User to Abort ZEX
The line of prompting text can contain special characters for allowing the
generation of lowercase output and control characters. In the default version
'^' preceding a character causes that character to be converted to a control
character. The sequence '%>' causes all subsequent output to be converted to
lowercase. The sequence '%<' causes uppercase output to resume. Any other
character after '%' is displayed as is ('%^' will give a caret).
:2
PAUSE Notes:
a. Vs 1.1 fixes bug in message display configuration control. The FLAGMSG
code was never implemented, and the configuration setting at the
beginning of the code was ignored.
:3
Examples of Use:
a. A0>PAUSE P%>ROGRAM PAUSED^M^J^I%<P%>RESS A KEY TO RESUME: <cr>
Program paused
Press a key to resume: _
The most useful control characters are ^M (carriage return), ^J
(linefeed), and ^I (tab). Since the 'text' begins with the first
nonblank character, putting in '% ' allows one to include leading
blank space.