home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 2
/
fishmore-publicdomainlibraryvol.ii1991xetec.iso
/
dirs
/
northc_384.lzh
/
NorthC
/
Example2.LZH
/
fortune
/
README
< prev
next >
Wrap
Text File
|
1990-08-30
|
849b
|
19 lines
This directory contains a little program to give out random phrases to
advise inform and annoy you. The program is a simple implementation of
the UNIX "fortune" program, at the moment the text file that it runs from
has too few sayings to keep the user interested for very long.
The code is simple enough that for me not to put much extra
documentation in here, read the code to see how the program works.
The simplest improvement would be to extending the data file, if you
want to play with the program you could try compressing the data file in
some way, or sending the output to the "Narrator" device so that the
machine says the advice as well as printing it.
If you do improve the program I would be pleased to get an updated
copy. As normal if you send me code tell me if I can put it on the next
NorthC release disk.