Select End not recognised

Place where find documentation
Post Reply
User avatar
Electroguard
Posts: 823
Joined: Mon Feb 08, 2021 6:22 pm
Has thanked: 262 times
Been thanked: 311 times

Select End not recognised

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
cicciocb
Site Admin
Posts: 1834
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 396 times
Been thanked: 1217 times
Contact:

Re: Select End not recognised

Post by cicciocb »

Not simple to implement as END SELECT is part of a "general" END command.

Changing just the error message is easier
User avatar
Electroguard
Posts: 823
Joined: Mon Feb 08, 2021 6:22 pm
Has thanked: 262 times
Been thanked: 311 times

Re: Select End not recognised

Post 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.
Post Reply