用分页技术实现快速动画
DECLARE SUB subp()
DIM SHAREDr,c
SCREEN 0,1:WIDTH 40
CLS:c=18:COLOR 12
FOR scr=7 TO 0 STEP1
r=2(1+scr)
CALL subp
SCREEN,,scr
NEXT scr
SCREEN,,0,0
FOR tr=1 TO 10
FOR scr=7 TO 0 STEP1
SCREEM,,scr
FOR j=1 TO 200:
NEXTJ
NEXT scr
NEXT tr
SCREEN0,1,0,0
END
SUB subp
LOCATE r+1,c
PRINT"";CHR$(65);""
LOCATE r+2,c
PRINT"";CHR$(177);""
LOCATE r+3,c
PRINT"";CHR$(219):""
LOCATE r+4,c
PRINT"";CHR$(175);""
LOCATEr+5,c
PRINT"";CHR$(186);""
END SUB
(四川 杨辉)