home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hall of Fame
/
HallofFameCDROM.cdr
/
comm
/
st.lzh
/
BOUNCE.SCL
< prev
next >
Wrap
Text File
|
1986-05-05
|
503b
|
30 lines
ansi off | ansi on
print "^[[2J^[[H^[[7m BOUNCE by MagicSoft ESCape to Quit ^[[0m"
let r = 5
let c = 5
let x = 1
let y = 1
chr e 27
:loop
if %r == 2 let x = %x*-1
if %c == 1 let y = %y*-1
print "^[[%r;%cH*";
inkey a|if "$a" == "$e" com|print "^[[2J^[[HEnd of BOUNCE Example SCL Program"|end
if %r == 24 let x = %x*-1
if %c == 79 let y = %y*-1
print "^[[%r;%cH ";
let r = %r+%x
let c = %c+%y
goto loop