home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
300-399
/
ff311.lzh
/
Echo
/
echo.examples
< prev
next >
Wrap
Text File
|
1990-01-31
|
3KB
|
60 lines
; Sample script by George Kerber to demonstrate the new echo command
; Version 1.01 08/28/89 Modified 09/16/89
echo -c -d 1 -m 4 "This script will show two examples of what my new echo command"
echo -m 4 "can do, *3pay attention*4.... *n*n"
echo -m 4 "In the old AmigaDOS days you could do only this:"
echo -m 4 "1> echo *qtest string*q"
echo -d 1 -m 4 "Now lines like this are possible: "
echo -m 4 "1> echo -c -p 10,13 -a 5 -n *q******** test **3string**1 *********q"
echo -d 1 -m 4 "Starting at the left,"
echo -d 1 -m 4 " -c clears the screen."
echo -m 4 " -p 10,13 moves the cursor to character position 10, line 13."
echo -m 4 " -a 5 sets characters to bold."
echo -m 4 " -n prevents a newline after printing the string (this is the same"
echo -m 4 " as NOLINE in AmigaDOS echo, my echo supports NOLINE too)."
echo -m 4 " **3 is an escape value setting the color to *3color 3*1."
echo -m 4 " **1 is an escape value setting the color to color 1."
echo -d 1 -n -x "Ready? Press <return> to execute this example."
ask " "
echo -c -p 10,13 -a 5 -n "**** test *3string*1 **** "
wait 1
echo -m 4 -n "Well*3.*2.*1.*3.*2.*1."
wait 1
echo -p 0,21 -a 3,@ -n -x " Press <return> to continue. "
ask " "
lab 20
echo -c -d 2 -m 4 "Or how about blocking part of the screen with color?"
echo -p 10,6
echo -p 10,18 -a @ " *n*n"
echo -p 10,8 -a @ " "
echo -p 10,9 -a @ " *3With orange text.... *5bolded*4*@ "
echo -p 10,10 -a @ " "
echo -p 10,12 -a @ " "
echo -p 10,7 -a @ " "
echo -p 10,13 -a @ " *0With blue text...... *7italics*4*@ "
echo -p 10,14 -a @ " "
echo -p 10,15 -a @ " *7Italics*4*@ *5Bold*4*@ *6Underline*4*@ *6*7*5ALL THREE*4*@ "
echo -p 10,16 -a @ " "
echo -p 10,11 -a @ " *1With white text..... *6underlined*4*@ "
echo -p 10,17 -a @ " *IPress <return> to continue....*4*@ "
echo -p 55,17 -n -k
ask ""
echo -p 10,16 -a @ " "
echo -p 10,17 -a @ " "
echo -p 10,18 -a @ " "
echo -p15,8 -a # " "
echo -p15,9 -a # " "
echo -p15,10 -a # " *2*I*5*qMay I suggest?*q*4*# "
echo -p15,11 -a # " "
echo -p15,12 -a # " "
echo -p15,13 -a 0,# " Take a look at this batch file "
echo -p15,14 -a #,0 " to see *Uhow it's done*4*#.... "
echo -p15,15 -a # " "
echo -p15,16 -a # " *5Good Luck!*4*# "
echo -p15,17 -a # " "
echo -p0,20