Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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.
New to QB64pe? Visit the QB64 tutorial to get started.
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

Possibly Related Threads…
Thread Author Replies Views Last Post
  QBJS - Fun Facts! dbox 16 3,658 01-31-2024, 03:53 PM
Last Post: dbox
  The best kind of documentation let's you try your own code, right there CharlieJV 2 742 03-25-2023, 06:07 PM
Last Post: CharlieJV
Lightbulb Allow source code to run, but not show it mnrvovrfc 6 1,436 02-12-2023, 04:54 PM
Last Post: CharlieJV

Forum Jump:


Users browsing this thread: 1 Guest(s)