home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
262.lha
/
ArpDoc_v1.3
/
Echo
< prev
next >
Wrap
Text File
|
1989-07-01
|
2KB
|
67 lines
Echo(V1.3) ARP User's Manual Echo(V1.3)
NAME
Echo - Echo a string to the terminal.
SYNOPSIS
Echo [string] NOLINE/s FIRST/k LEN/k
DESCRIPTION
Echo displays its argument to the current output, this can
be the printer, a file or the terminal. Echo is typically
used in Batch files, but it can also be used (and useful) to
send escape sequences to things like printers.
Note that with the added keywords, you now MUST use double
quotes to delimit a line to echo, unlike the V1.1 ARP Echo.
OPTIONS
NOLINE
This suppresses the newline which Echo automatically
adds at the end of its argument.
FIRST
This option takes a numeric argument, which indicates
which character position to begin output at. Any
character before FIRST will not be displayed. This is
useful with LEN (see below).
LEN This option takes a numeric argument, which indicates
how many characters to output. If you also supply a
FIRST argument (see above), character output will begin
with that character, for LEN characters. If LEN is used
without the FIRST keyword, then the final LEN
characters will be displayed.
EXAMPLES
Echo "Hello World!" displays "Hello World" on the terminal.
Echo >PRT: "\FHello World!" advances the printer paper, and
displays Hello World! on the printer. Note that you must
have set your escape character to \ for this example to
work.
Echo First 2 "Hello World!" will display "ello World!".
Echo Len 4 "Hello World!" will display "rld!".
Echo First 7 Len 6 "Hello World!" will display "World!".
SEE ALSO
Set for a description of how to change the escape character.
Page 1 (printed 4/28/89)