BBC BASIC for Windows
« Features that are never used »
Welcome Guest. Please Login or Register. Apr 5th, 2018, 11:36pm
ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018. Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.
If you require a dump of the post on your message board, please come to the support board and request it.
Re: Features that are never used
« Reply #22 on: Apr 9th, 2015, 08:56am »
Hi Richard,
Thanks for the note on ELSEIF. I quite often use the CASE TRUE construction, which is very nice, but I can see that using ELSEIF...THEN; might also work well to make multiple choices clear.
I see that there is one use of it in the wiki - is that enough to earn ELSEIF a brief mention in the manual?
Best wishes,
D
Logged
rtr2 Guest
Re: Features that are never used
« Reply #23 on: Apr 9th, 2015, 10:13am »
I see that there is one use of it in the wiki - is that enough to earn ELSEIF a brief mention in the manual?
It is already there. ELSEIF is just ELSE IF and is therefore documented under ELSE and IF. It's a standard feature of BBC BASIC, which you could use even on the BBC Micro:
Code:
IF condition1 PROCdosomething ELSEIF condition2 PROCdoanotherthing
The little-used, BB4W-specific, feature I drew attention to was THEN; (i.e. the trailing semicolon) which is documented, unsurprisingly, under THEN: