home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 2
/
fishmore-publicdomainlibraryvol.ii1991xetec.iso
/
fish
/
misc_utils
/
utils
/
cookie
/
readme
< prev
next >
Wrap
Text File
|
1990-12-16
|
1KB
|
30 lines
Cookie
------
WB: double click on cookie.iconx icon
CLI usage: cookie
This program display a wise (and/or) humourous line of text on screen.
The program requires the files cookie.dat and cookie.ptr to be present in
the s: directory. `cookie.dat' contains the cookies separated by the
character 0x0c. `cookie.ptr' contains long words which represent pointers
into the file cookie.dat. These pointers give were each cookie starts.
If these two files are not present then cookie displays the (appropriate)
message `No Cookies!'
If you want to add new cookies to cookie.dat then the program `pointers'
reads the cookie.dat file and writes a new cookie.ptr file. Pointers must
be run from the CLI.
eg. The CLI command `cookie'
displays (for example):
Another good night not to sleep in a eucalyptus tree.
The length of cookie is 460 bytes, and pointers is 1040 bytes.
Note: The code for cookie contains random number functions. The code for
these was taken from a public domain program. Unfortunately the author is
unknown, I apologise to him/her for this.