Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creating a Quine in QB64PE
#4
(04-29-2024, 04:10 PM)SMcNeill Wrote: Save as "untitled.bas"

Code: (Select All)
Open "untitled.bas" For Input As #1
While Not EOF(1)
    Line Input #1, junk$
    Print junk$
Wend
That's cheating! Technically, the quine itself is supposed to be able to display itself without accessing an external file.
While 1
   Fix Bugs
   report all bugs fixed
   receive bug report
end while
Reply


Messages In This Thread
Creating a Quine in QB64PE - by TDarcos - 04-29-2024, 03:02 PM
RE: Creating a Quine in QB64PE - by SMcNeill - 04-29-2024, 04:10 PM
RE: Creating a Quine in QB64PE - by TDarcos - 05-02-2024, 10:56 AM
RE: Creating a Quine in QB64PE - by SMcNeill - 04-29-2024, 05:09 PM



Users browsing this thread: 1 Guest(s)