QASIC PROGRAM TO CREATE TEXT ANIMATION
<syntaxhighlight lang = QBasic>
SUB TEXT_ANIM
X = 15 ' CAN BE ANY OTHER VALUE TOO
Y = 15 ' CAN BE ANY OTHER VALUE
LOCATE Y,X
DO
PRINT "> "
SLEEP 1
CLS
PRINT " > "
SLEEP 1
CLS
PRINT " > "
SLEEP 1
CLS
PRINT " > "
SLEEP 1
CLS
PRINT " > "
SLEEP 1
CLS
PRINT " >"
SLEEP 1
CLS
LOOP UNTIL INKEY$ <> ""
END SUB
<SOURCE>
0 Comments