Animation: Difference between revisions

Applesoft BASIC
(Applesoft BASIC)
Line 225:
end Animation;</lang>
 
=={{header|Applesoft BASIC}}==
<lang gwbasic> 10 LET T$ = "HELLO WORLD! ":P = 1:L = LEN (T$):T$ = T$ + T$
20 D = 1: VTAB INT (( PEEK (35) - PEEK (34)) / 2) + 1: FOR R = 1 TO 0 STEP 0
30 HTAB INT (( PEEK (33) - L) / 2) + 1: PRINT MID$ (T$,P,L);
40 P = P + D: IF P > L THEN P = 1
50 IF P < 1 THEN P = L
60 R = PEEK (49152) < 128: FOR I = 1 TO 5:B = PEEK (49249) > 127: IF B < > BO THEN BO = B: IF B = 0 THEN D = - D
70 NEXT I,R:R = PEEK (49168)</lang>
=={{header|AutoHotkey}}==
<lang AutoHotkey>SetTimer, Animate ; Timer runs every 250 ms.
413

edits