Just a tiny and fun bit of code
#2
(06-15-2023, 02:30 AM)CharlieJV Wrote: Give it a spin in BAM :

(from page 422, Handbook of BASIC: for the IBM PC, XT, AT, PS/2, and compatibles)

Code: (Select All)
SCREEN 0
PRINT "ABCDEFG"
FOR J = 0 TO 7
LOCATE 2 + J, 1
FOR K = 0 TO 55
IF POINT(K,J) = 0 THEN PRINT " "; ELSE PRINT "*";
NEXT K
PRINT
NEXT J
Cool, that is almost exactly how I use to create large scrolling text in screen 0 back in the day using QuickBasic 4.x. In fact, I believe I implemented this very style of code in my Super MegaBug game to create the large font used in the game.
Software and cathedrals are much the same — first we build them, then we pray.
QB64 Tutorial
Reply


Messages In This Thread
Just a tiny and fun bit of code - by CharlieJV - 06-15-2023, 02:30 AM
RE: Just a tiny and fun bit of code - by TerryRitchie - 06-15-2023, 05:20 AM
RE: Just a tiny and fun bit of code - by Jack - 06-15-2023, 10:29 AM
RE: Just a tiny and fun bit of code - by Jack - 06-15-2023, 01:56 PM



Users browsing this thread: 4 Guest(s)