home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
tipi
/
tabloid.tpi
< prev
next >
Wrap
Text File
|
1993-11-06
|
746b
|
38 lines
# TABLOID.TPI
# by Kent Peterson
# This is a silly little program
# that generates tabloid-style headlines
deftable subjects
"Elvis" "Bigfoot" "Princess Di"
"98 Year-old Grandmother"
"Space Alien" "Madonna" "Michael Jackson"
"Bat-Child" "Loch Ness Monster"
endtable
define subject
9 random subjects
print$ cr
enddef
define verb
7 random
case 1 of "gives birth to" endof
2 of "found living with" endof
3 of "is actually" endof
4 of "to marry" endof
5 of "declares love for" endof
6 of "found in love nest with"
endof
7 of "reveals the hidden truth about"
endof
endcase
print$ cr
enddef
randomize
subject verb subject
begin
key
until