home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
003.lha
/
DosPlus1.doc
< prev
next >
Wrap
Text File
|
1986-03-02
|
3KB
|
74 lines
DosPlus1.doc
by
Bill Beogelein
DosPlus adds additional commands to the Amiga's CLI. Add the
following files to the `c' directory of your WorkBench disk,
they will be available from CLI at anytime. The desciptions
listed below are expressed in terms of parameters `passed'
and values `returned'. Square brackets `[]' mark optional
information, a vertical bar `|' represents any ONE of several
choices allowed. Execute commands from CLI ONLY by entering
command name and the parameter[s] as shown. Entering just
the command will list the `Usage' template giving additional
guidelines.
1) ASC 5) BIT
2) CHR 6) WC
3) MATH 7) HELP
4) CONV 8) INPUT
The original author offers these programs as `ShareWare'.
Feel free to distribute them via user groups, BBS's, etc.
If you've found the programs useful please send a small
contribution to:
Bill Beogelein
P.O. Box 05256
Detroit, MI 48205
This support along with your suggestions will allow bug fixes,
and updates for this and future software.
Thank You
1) Usage: ASC char [char] ...
Pass single character, or string of characters, returns
each character's ASCii code in decimal, hexadecimal,
octal, and binary form. Characters with an ascii
value >128 must be surrounded by double quotes.
2) Usage: CHR nmbr [nmbr] ...
Pass ascii value[s] between 0-255, returns key strokes
required to produce CHaRacter[s], and hexadecimal, octal,
and binary equivalents.
3) Usage: MATH ADD | SUB | MUL | DIV nmbr nmbr [nmbr] ...
Pass numbers.
Option ADD returns total sum.
Option SUB returns SUBtracted difference.
Option MUL returns MULtiplied product.
Option DIV returns DIVided quotient.
4) Usage: CONV DEC | HEX | OCT | BIN nmbr [nmbr] ...
CONVerts nmbr from specified base to other forms.
If DEC, nmbr must range from 0-65535
If HEX, nmbr must range from 0-FFFF
If OCT, nmbr must range from 0-177777
If BIN, nmbr must range from 0-1111111111111111
5) Usage: BIT a AND | OR | XOR | EQV | IMP b
Performs any one bit-wise operation, AND (conjunction),
OR (disjunction), XOR(eXclusive OR), EQV (equivalence),
or IMP (implication) on values `a' and `b'.
6) Usage: WC filename [filename] ...
Pass filename[s], returns number of words, number of lines,
number of binary characters, total number of characters,
and a unique checksum value. The checksum can be used to
compare files thought to be identical.
7) Usage: HELP command [command] ...
Pass standard AmigaDos or DosPlus command[s], returns
template and help information.
8) Usage: INPUT prompt
Use only in executable batch files. Executes similar to
BASIC'c `INPUT "My prompt string",a$' command. Displays
prompt string, accepts input from user and writes to file
`ram:UserInput.data'. Retrieve entered text into desired
program with `COMMAND <ram:UserInput.data'.