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.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1 2  Notify Send Topic Print
 hotthread  Author  Topic: Features that are never used  (Read 557 times)
DDRM
Administrator
ImageImageImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 321
xx 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
User IP Logged

rtr2
Guest
xx Re: Features that are never used
« Reply #23 on: Apr 9th, 2015, 10:13am »

on Apr 9th, 2015, 08:56am, DDRM wrote:
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:

http://www.bbcbasic.co.uk/bbcwin/manual/bbcwin7.html#then

Richard.
« Last Edit: Apr 9th, 2015, 10:17am by rtr2 » User IP Logged

Pages: 1 2  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls