Page 1 of 1

Select End not recognised

Posted: Tue Dec 05, 2023 1:25 pm
by Electroguard
Something which seems pedantic, but can be confusing, is the SELECT END error message.
Intuitively I used to end a SELECT section with SELECT END, which causes a contradictory "SELECT END Missing" message as shown in the pic, even though "Select End" is clearly present. But the interpreter errors because it is actually looking for END SELECT, which is not present.
So perhaps the interpreter could recognise both END SELECT and SELECT END as equally valid, or the error message changed to "END SELECT Missing".

end select error msg.png

Re: Select End not recognised

Posted: Tue Dec 05, 2023 1:34 pm
by cicciocb
Not simple to implement as END SELECT is part of a "general" END command.

Changing just the error message is easier

Re: Select End not recognised

Posted: Tue Dec 05, 2023 1:56 pm
by Electroguard
Yeah, and it's been like it for years anyway... the only reason I mentioned it now was cos Fernando is causing you to do some editing, so seemed like the right time.