home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 5
/
DATAFILE_PDCD5.iso
/
utilities
/
z
/
zapds
/
!Zap
/
3rdParty
/
Salt
/
HelpData
< prev
next >
Wrap
Text File
|
1995-09-15
|
3KB
|
77 lines
| ***************************************************************
| * ZapDS extensions *
| ***************************************************************
DS_RUNAPP
Save the file if changes have been made, then try to run it as an
application (failing this, the file itself). The window is sent to the back.
DS_INSERT
Insert a space at the cursor as in !Edit.
In byte/word/code modes, insert a zero byte or word as appropriate.
DS_EVAL <string>
<string> = "<base>:<expression>" or "<expression>"
Evaluate the supplied expression (as *EVAL) and inserts the signed result in
the supplied base (the exact format is mode dependent).
If the expression evaluates to a string, the base (if supplied) is ignored.
DS_UEVAL <string>
<string> = "<base>:<expression>" or "<expression>"
Evaluate the supplied expression (as *EVAL) and inserts the unsigned result
in the supplied base (the exact format is mode dependent).
If the expression evaluates to a string, the base (if supplied) is ignored.
DS_EVALH <string>
Evaluate the supplied string (as *EVAL) and inserts the result as a
hexadecimal number (the exact format is mode dependent).
If it evaluates to a string, the base (if supplied) is ignored.
DS_ADRL <string>
<string> = "<condition code> <register>,<address>"
Assemble a long (two instruction) ADR.
The condition code is optional.
DS_ADRX
<string> = "<condition code> <register>,<address>"
Assemble a very long (three instruction) ADR.
The condition code is optional.
DS_FINDFILE
Look for an object name (file or directory) at the cursor. If successful,
then attempt to load the file or open the directory (as appropriate).
DS_OPENPARENT
Open the directory containing the current file.
DS_SWAPCASECURSOR
Swaps the case of the character at the cursor, advancing the cursor by one -
whether there's a selection or not.
DS_SAVEKEEPSTAMP
Saves the file immediately (ie. no prompt), but preserves the datestamp.
DS_STRIPCTRLCODES <byte>
Strip control codes (exc. tab & return characters) from a file, and remove
everything from the first ctrl-Z (soft-EOF) onwards.
Bit 0 set: strip control codes
Bit 1 set: ... except for \a, \b and \f
Bit 2 set: remove everything from soft-EOF
Default parameter value is 3.
DS_UNTABIFY
Converts tabs to spaces (the reverse of STRIPSPACES 4).
In text language modes (C etc.) tabs in quotes " are left intact.
DS_MESSAGEID
In Email mode, will generate a new date line and message ID.
Requires a valid "From: " line and that the "Date: " and "Message-ID: " lines
are present.
DS_STRIPCTRLWITHMASK <string>
Strip control codes from a file, according to the given mask (*Eval'uated to
a number) in which bit n set = remove chr code n. The default is to strip out
all but \a, \b, \f, and the current return and tab characters.
| End