home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
forth
/
compiler
/
fpc
/
zz.cfg
< prev
next >
Wrap
Text File
|
1990-07-24
|
3KB
|
49 lines
SZ %1 %2 %3 /cmd|| Run small Z in /CMD mode
SZ %F.msg /b|| Ctrl-F1=Examine messages
CLS|%1 %P|PAUSE|| Ctrl-F2=Execute program
TCOM %1 /opt /noinit /q >%F.msg|| Ctrl-F3=Compile "OPTIMIZED"
SZ ZZ.CFG /cmd|| Ctrl-F4=Edit config file
TCOM %1 /opt /sym /q >%F.msg|| F5=Compile program
echo Ctrl-F6 is not defined, edit ZZ.CFG|pause|| Ctrl-F6=<not defined>
BXDEBUG %F.com|| F7=Debug program
echo Ctrl-F8 is not defined, edit ZZ.CFG|pause|| Ctrl-F8=<not defined>
F %1|| F9=Run Forth & open file
LOOK "%PString: "" %PFilespecs: " |echo.|pause|| Ctrl-F10=find text in files
echo Shift-F1 is not defined, edit ZZ.CFG|pause|| Shift-F1=<not defined>
echo Shift-F2 is not defined, edit ZZ.CFG|pause|| Shift-F2=<not defined>
echo Shift-F3 is not defined, edit ZZ.CFG|pause|| Shift-F3=<not defined>
echo Shift-F4 is not defined, edit ZZ.CFG|pause|| Shift-F4=<not defined>
echo Shift-F5 is not defined, edit ZZ.CFG|pause|| Shift-F5=<not defined>
echo Shift-F6 is not defined, edit ZZ.CFG|pause|| Shift-F6=<not defined>
echo Shift-F7 is not defined, edit ZZ.CFG|pause|| Shift-F7=<not defined>
echo Shift-F8 is not defined, edit ZZ.CFG|pause|| Shift-F8=<not defined>
************************************************************************
******************** ZZ.CFG Documentation follows **********************
************************************************************************
The various "%" commands in the above lines are interpreted as follows:
%1 Is replaced with the filename being edited
%2 Is replaced with the ROW of the file being edited
%3 Is replaced with the COLUMN of the file being edited
%F Is replaced witht he file being edited but with the file
extension removed
%P Is replaced with prompted command line parameters. %P can
be followed with an optional string upto a " character
in the form: %PHello there" where "Hello there" will
be the prompt rather than the default "Command line:"
The purpose of the %P escape sequence is to allow user entered parameter
to be entered at command line execution time. The optional string following
lets the user know what kind of parameter is being requested. Multiple
%P sequences can be placed in a DOS command sequence, and each will be
prompted and filled in before ANY of the DOS commands in the sequence is
performed. The total length of any DOS sequence is limited to 255 characters,
including The expanded filename, and parameters.
The "|" symbol is used to delimit DOS commands, with "||" being used to
signify the end of a series of commands. Text to the right of "||" is
treated as comments.