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.credit
< prev
next >
Wrap
Text File
|
1990-01-31
|
2KB
|
47 lines
ECHO Credits George Kerber 08/28/89
I am just learning to program in "C" and I've found that there is very much
to learn from looking at other people's code. When learning, standard "C"
is hard enough, try learning to use AmigaDOS functions. I always try to
include my source code and appreciate when others do the same.
Recently I obtained Fred Fish #217. On this disk was an echo replacement by
Garry Glendown. It worked well and was small, but it wasn't downward
compatible with the AmigaDOS echo.
Garry's echo did many things, but it didn't support escape characters or the
AmigaDOS NOLINE option. His echo was not compatible and I would of had to
rewrite all of my batch/script files to accommodate it. I also thought he
went overboard on the options, to the point where no one would use them.
Well, I started to make minor changes in his code and by the time I was done
I had almost re-written the whole thing! And I've got more options than
Garry's version, so much for my original thoughts. My version of echo
is almost totally compatible with the AmigaDOS and ARP echo command and
if used properly will give the user total capability to put any color text
anywhere on the screen with any attribute and background color. So does
Garry's version, I think mine is easier and more versatile. On the other
hand my version is 12k where his is 8k. Oh well..... Lattice 5.02 seems
to make slightly larger code than other compilers. (???)
But I do want to give Garry Glendown very much credit, in fact I am using
one of his functions with only minor modifications. I learned much from
Garry's program, and to tell the truth, I don't really understand all of it.
Once I figured out what values his function needed, I only had to pass them
correctly. It wasn't necessary to fully understand the function.
"C" is neat...
Execute the echo.examples script for some examples of what can be done
with this command.
George Kerber
19756 E. Linvale Drive
Aurora, Colorado 80013
(303) 693-2890
Compuserve 74010.2132