Dec 052017
PC Magazine - Volume 8 Number 18 - 10/31/89 Issue.
File VOL8N18.ZIP from The Programmer’s Corner in
Category Files from Magazines
PC Magazine – Volume 8 Number 18 – 10/31/89 Issue.
File Name File Size Zip Size Zip Type
ARGC.ASM 2265 861 deflated
ARGV.ASM 4713 1478 deflated
AUTOSAVE.WK1 2168 568 deflated
BIRTHDAY.BAS 693 391 deflated
CURPATH.BAS 1277 632 deflated
DEMO.WPM 2787 992 deflated
DUMP.ASM 7677 2378 deflated
FAX.BAT 396 183 deflated
FAX1.TPL 366 197 deflated
GRAFPATH 872 374 deflated
HEXASC.ASM 2980 792 deflated
MENU.ASM 135131 23412 deflated
MENU.BAS 41845 9146 deflated
MENU.COM 8107 4486 deflated
MENU.DOC 5547 2045 deflated
MOVEONLY.WPM 612 323 deflated
SAVEA.XLM 1250 673 deflated
SAVEB.XLM 1552 812 deflated
SCRNDUMP.PAS 2047 749 deflated
SCRNTEST.PAS 1316 631 deflated
STATE.WPM 2409 967 deflated
SUBTEST.BAT 907 367 deflated
SUBTEST2.BAT 523 198 deflated
VARMAC.WPM 1158 551 deflated

Download File VOL8N18.ZIP Here

Contents of the MENU.DOC file


Ron Smith October 31, 1989 (Utilities)

Purpose:Combines information from full-screen displays and user keyboard input
to create batch and other program input files under the control of a
template file. Full screen editing facilities are provided for displays
of up to 300 lines and up to 100 input fields.

Format:MENU [/D/E/N] screen template out1 [out2 ...]

Remarks:The screen operand is the file containing the display. A screen file
is created by entering MENU /E ,, screen and can later be edited by
entering MENU /E screen,, screen. The commas are used to replace
omitted file operands.

The template is a file that controls the format of the output files.
A template file is created with any ASCII text editor and contains
constant data and instructions for copying information entered on the

The out files are constructed from the information on the display and
in the template files. Up to 64 out files may be created.

The optional /D switch is used to display any screen or other ASCII file
of up to 300 lines. If the screen file is not specified the DOS
standard input file is assumed. The number of screen columns and rows
is automatically determined and all sizes of displays up to 255 x 255
are supported.

The /N (No-restore) option is used to inhibit MENU from saving/restoring
the original DOS screen contents when exiting. This switch is normally
invoked when loading programs that paint their own opening screen.

Template File:The template file contains the instructions for creating the
output files. Each character in the template file is copied
directly to the current output file (initially out1) except for
the following editing characters.

[Start pattern replacement. If the form is used,information is extracted
from the nnn th input field on the display according to the following
pattern characters.
]Copy the rest of the input field.
?Copy the next character from the input field.
=Copy the rest of the current display line of the input field.
|Skip to the ], ignoring the rest of the pattern if there are no more
characters in the input field.
\Copy the next pattern character even if it is one of the above.

All other characters in the pattern are copied without change. If anything
other than a decimal number follows the [, time and date substitution is
performed. All characters except the following pattern characters are copied
directly to the output file.

\Copy the next character even if a pattern character.
]Terminate pattern processing.
MMInsert the current month (01 to 12).
DDInsert the current day (01 to 31).
CCInsert the current century (19 or 20).
YYInsert the current year (00 to 99).
MNInsert the 3-character month abbreviation.
DWInsert the 3-character day-of-week abbreviation.
hhInsert the current hour (00 to 23).
mmInsert the current minute (00 to 59).
ssInsert the current second (00 to 59).

{Copy information from a constant field on the display to the output
file. If the form {nnn} is used, the nnn th constant field is copied.
If the form {nnn} is used, the nnn th input field is assumed to be a
decimal number and that number selects the constant field. For example,
{[1]} will extract the value in the first input field. If that value
is 5, the fifth constant field is used.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>