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



Users browsing this thread: 5 Guest(s)