home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 December
/
simtel1292_SIMTEL_1292_Walnut_Creek.iso
/
msdos
/
ddjmag
/
ddj8807.arc
/
GASPER.ARC
/
GASPER.LST
Wrap
File List
|
1988-05-31
|
4KB
|
131 lines
«LM10»«AL1»«RHA
«VA$fi» «DAmm/dd/yy» «TM» Galley «PN» of «FP»
»«PT1»
1988, Bright Star Technology,Inc.
======================================================================================================================================
===================================================================
--********************--
--* Stack functions *--
--********************--
on startup
--******************************************************--
--* Open up the driver using ELON as our synthetic actor and move *--
--* him to where we would like to see him on the screen. *--
--******************************************************--
RAVE "|~ACTOR ELON~|"
RAVE "|~MOVE TOP 100 LEFT 150~|"
end startup
------------------------------------------------------------------
function scroll_line how_many_lines
--******************************************************--
--* This function will quickly scroll the field "prose line" the *--
--* number of lines passed in the parameter how_many_lines. *--
--******************************************************--
repeat how_many_lines
set the scroll of field "prose line"┬
to the scroll of field "prose line"┬
+ textHeight of field "prose line"
end repeat
end scroll_line
-------------------------------------------------------------------
function show_and_tell this_text
--******************************************************--
--* This function shows what the actor is saying in the field *--
--* face line (located underneath the actor's face) and then says it. *--
--******************************************************--
put this_text into card field "faceline"
RAVE card field "faceline"
put empty into card field "faceline"
end show_and_tell
======================================================================================================================================
===================================================================
--********************--è--* Button "A limerick" *--
--********************--
on mouseUp
--******************************************************--
--* When this button is pressed, the limerick field is reset to show *--
--* the first line of the limerick on the screen. *--
--******************************************************--
set the scroll of field "prose line" to 60
--******************************************************--
--* Each line of the limerick is read from the field "prose line", *--
--* pronounced, and then scrolled upwards by calling the function *--
--* scroll_line. *--
--******************************************************--
repeat with prose_count = 7 to 11
RAVE line prose_count of card field "prose line"
put scroll_line(1) into nothing
end repeat
--******************************************************--
--* Finally we pause a moment, before scrolling the limerick up off *--
--* the screen. *--
--******************************************************--
wait for 3 seconds
put scroll_line(7) into nothing
end mouseUp
======================================================================================================================================
===================================================================
--********************--
--* Button "Bad Rating" *--
--********************--
on mouseUp
put show_and_tell ("Sure, let's hear you try it!") into nothing
set the scroll of field "prose line" to 60
put show_and_tell ("Go ahead, I am listening ..." ) into nothing
put scroll_line(7) into nothing
put show_and_tell ("What's Wrong?" ) into nothing
put show_and_tell ("Cat got your tongue?" ) into nothing
end mouseUp
-------------------------------------------------------------------
--********************--
--* Button "Good Rating" *--è--********************--
on mouseUp
put show_and_tell ("Thank You!") into nothing
put show_and_tell ("You are too kind!" ) into nothing
end mouseUp