Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is this a bug?
#1
I just spent an hour tearing my hair out trying to track down a syntax error that the IDE failed to report. My need to comment everything bit me in the butt this time.

I accidentally placed a comment after a DATA statement. The line of code containing the READ statement kept failing with a syntax error after executing the code. The code worked fine, I made a few comments, ate supper, came back, and the code didn't work.

At first I thought my cat was playing a prank on me ... typing something in while I'm not looking! Hey, it's happened before! They love to walk on keyboards.

But I FINALLY figured out what was going on.

Is it a bug that the IDE does not catch a comment being placed after a DATA statement?
There are two ways to write error-free programs; only the third one works.
QB64 Tutorial
Reply


Messages In This Thread
Is this a bug? - by TerryRitchie - 05-12-2024, 12:38 AM
RE: Is this a bug? - by SMcNeill - 05-12-2024, 12:46 AM
RE: Is this a bug? - by TerryRitchie - 05-12-2024, 12:52 AM
RE: Is this a bug? - by SMcNeill - 05-12-2024, 01:26 AM
RE: Is this a bug? - by PhilOfPerth - 05-12-2024, 10:47 AM
RE: Is this a bug? - by grymmjack - 05-16-2024, 09:57 PM
RE: Is this a bug? - by SMcNeill - 05-16-2024, 10:51 PM



Users browsing this thread: 1 Guest(s)