Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Just a tiny and fun bit of code
#3
thanks CharlieJV Smile 
I moded it a bit for QB64, I hope that you won't mind
Code: (Select All)

Dim As Long i, j, k, cl
Dim As String s
s = "QB64pe"
Screen 8, 0
Cls
Print s
For j = 0 To 7
    Locate 2 + j, 1
    For k = 0 To Len(s) * 8 - 1
        If Point(k, j) = 0 Then Print " "; Else Print "*";
    Next k
    Print
Next j
cl = CsrLin
Locate 1, 1
Print Space$(Len(s));
Locate cl, 1 'restore cursor position
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 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,613 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 723 03-25-2023, 06:07 PM
Last Post: CharlieJV
Lightbulb Allow source code to run, but not show it mnrvovrfc 6 1,397 02-12-2023, 04:54 PM
Last Post: CharlieJV

Forum Jump:


Users browsing this thread: 1 Guest(s)