home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
d_b_a
/
86_12
/
flashmsg.prg
< prev
next >
Wrap
Text File
|
1986-11-04
|
963b
|
53 lines
****************************
* FLASHMSG.PRG
* by Edward C. Knaudt, E.A.
*
set talk off
erase
clear
set bell off
set inte on
set colon off
* set flashing speed
store 3 to y
* store message
store ' ** RED ALERT ** ' to msg
store ' ' to blk
do while t
store 1 to x
store 3 to ww
store 4 to w
store 6 to z
* set up loop
do while x < 25
if x=ww
@ 6,33 say blk
store ww+y to ww
endif
if x=z
@ 6,33 get msg
clear gets
* --- bell is optional
* @ 6,33 say chr(7)
store z+y to z
endif
if x=w
@ 6,33 say msg
store w+y to w
endif
store x+1 to x
enddo
* this part of the program is for testing purposes only
store ' ' to answ
@ 20,10 say 'DO YOU WANT TO CONTINUE?' GET ANSW PICT '!'
READ
if answ='Y'
@ 22,10 say ' CHANGE RATE TO '
@ 22,26 get y
read
loop
else
return
endif
enddo