Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
An IDE anomoly detected
#5
Think of it as:

FOR I = 1 TO 10
   
    SUB Foo
    END SUB

NEXT

Now, is that error the fault of FOR?  It's got a proper NEXT to it; it's just a silly SUB out of place!

As far as the IDE is concerned, that's your glitch here.  It reads down, from top to bottom, and stops and tosses an error at the first problem it finds. In the above, it never really knows if there's a NEXT, or not, as it errors on SUB foo before it can verify things.

The only issue with SUB vwatch is it's hidden and not part of the user's code.  Makes for some confusing feedback when it's referencing an invisible module.  Wink
Reply


Messages In This Thread
An IDE anomoly detected - by TerryRitchie - 04-29-2024, 01:51 PM
RE: An IDE anomoly detected - by bplus - 04-29-2024, 04:22 PM
RE: An IDE anomoly detected - by FellippeHeitor - 04-29-2024, 04:53 PM
RE: An IDE anomoly detected - by TerryRitchie - 04-29-2024, 06:21 PM
RE: An IDE anomoly detected - by SMcNeill - 04-29-2024, 06:51 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  IDE suggestions / editor questions madscijr 14 2,387 05-01-2025, 12:56 PM
Last Post: madscijr
  IDE almost flatlines 4 of 4 cpus - linux - any cure? desA 5 1,076 07-28-2024, 02:49 PM
Last Post: bplus
  Viewing SUBs in IDE TerryRitchie 0 483 05-27-2024, 06:24 PM
Last Post: TerryRitchie
  Question about Window Width in IDE menu TerryRitchie 3 702 05-09-2024, 05:38 PM
Last Post: TerryRitchie
  Typo in IDE ASCII Chart TerryRitchie 4 968 05-08-2024, 02:31 PM
Last Post: Dimster

Forum Jump:


Users browsing this thread: 1 Guest(s)