Keyword list - proofreading requested!

Discussions specifically related to the Android and iOS editions of BBCSDL
Richard Russell
Posts: 366
Joined: Tue 18 Jun 2024, 09:32

Re: Keyword list - proofreading requested!

Post by Richard Russell »

jeroen_soutberg wrote: Mon 19 Feb 2024, 12:43 I am not sure I see the value of the string version. Or do I miss something?
In BBC BASIC an expression can return a number or a string. An example of an expression which returns a number is '1 + 2' which returns the number '3'. An example of an expression which returns a string is '"one" + "two"' which returns the string '"onetwo"'.

EVAL passes the supplied argument to the 'expression evaluator', hence depending on that argument the expression evaluator may return a number or a string. Here's an example of when EVAL returns a number:

Code: Select all

      expression$ = "1 + 2"
      number = EVAL(expression$)
Here's an example of when EVAL returns a string:

Code: Select all

      expression$ = """one"" + ""two"""
      string$ = EVAL(expression$)
Of course the power of EVAL arises when the expression is somehow 'computed' at run time rather than being a literal string as in these examples, but I hope you can see why both forms are required.
Richard Russell
Posts: 366
Joined: Tue 18 Jun 2024, 09:32

Re: Keyword list - proofreading requested!

Post by Richard Russell »

Principally for the Android and iOS editions, in which it's inconvenient to access the online Help manual, I've created a simple list of keywords with one-line descriptions. I would appreciate it if as many people as possible could check this for:
  • Errors (including typographical errors)
  • Omissions
  • Things which could be made clearer, within the formatting constraints
It will probably be easier to read if you click on Fullscreen.
I have now created a related (but shorter!) list of OS (star) commands. I would again appreciate it if it could be checked for errors, omissions, typos etc. As with the keywords list, it will probably be beneficial to click on Fullscreen.

Since this shares exactly the same code as keywords.bbc I am not interested in, and do no not want, any feedback on features like layout, legibility, navigation, compatibility with certain browsers etc. As it is, keywords.bbc is probably the most complained-about of all the programs supplied with BBCSDL, so I do not wish to re-open that can of worms! :roll:
Phil_Thatcham
Posts: 6
Joined: Tue 03 Apr 2018, 11:59

Re: Keyword list - proofreading requested!

Post by Phil_Thatcham »

Typo in entry for *QUIT

Should be: synonymous

PT
Richard Russell
Posts: 366
Joined: Tue 18 Jun 2024, 09:32

Re: Keyword list - proofreading requested!

Post by Richard Russell »

Phil_Thatcham wrote: Wed 25 Jun 2025, 08:36 Typo in entry for *QUIT
OK, now fixed, thanks.