Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
SUB BOXPRINT (STRIN$)
SHARED LETTERY
IF (LEN(STRIN$) < 40) OR (LEN(STRIN$) = 40) THEN
LOCATE LETTERY, 40: PRINT STRIN$
IF LETTERY < 13 THEN LETTERY = LETTERY + 1
IF LETTERY = 13 THEN LETTERY = 1
END IF
IF (LEN(STRIN$) > 40) THEN
FIRSTPART$ = MID$(STRIN$, 1, 40)
SECONDPART$ = MID$(STRIN$, 40, LEN(STRIN$))
BOXPRINT FIRSTPART$
BOXPRINT SECONDPART$
END IF
END SUB
LETTERY = 1
s$ = "The quick brown fox jumped over the lazy dog the quick brown fox jumped over the lazy dog the quick brown fox jumped over the lazy dog the quick brown fox jumped over the lazy dog."
CLS
c = 0
DO
c = (c + 1) MOD 14
COLOR c + 1
BOXPRINT s$
a$ = INPUT$(1)
LOOP UNTIL a$ = " " 'loop until space pressed
SECONDPART$ = MID$(STRIN$, 40, LEN(STRIN$))
SECONDPART$ = MID$(STRIN$, 41, LEN(STRIN$))
SECONDPART$ = LTRIM$(MID$(STRIN$, 41, LEN(STRIN$)))