Select Case End

About Monkey 2 Forums Monkey 2 Development Select Case End

This topic contains 2 replies, has 2 voices, and was last updated by  cocon 7 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #13675

    cocon
    Participant

    Accidentally I placed an End statement to an equivalent Case statement and I got this error message.

    However I noticed this after commenting out 500 lines of code. It was a silly mistake but if there would be any case for the mxcc to be more clever and notify it would be nice.

    Perhaps if the End statement is met by itself (without any open scope) it would say: “Hey, the End statement can’t be declared on it’s own”. 🙂

    #13680

    AdamStrange
    Participant

    Er, yep. that is correct.
    You actually typed:

    [/crayon]

    Case does not use End, only the Select does

    #13685

    cocon
    Participant

    Yeah this was some sort of miscalculation.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.