Forum
What don't we know about? - Printable Version

+- Forum (https://www.boriel.com/forum)
+-- Forum: Compilers and Computer Languages (https://www.boriel.com/forum/forumdisplay.php?fid=12)
+--- Forum: ZX Basic Compiler (https://www.boriel.com/forum/forumdisplay.php?fid=11)
+---- Forum: Documentation (https://www.boriel.com/forum/forumdisplay.php?fid=17)
+---- Thread: What don't we know about? (/showthread.php?tid=218)



What don't we know about? - britlion - 05-22-2010

Boriel,

I am willing to help with the wiki version of documentation. Actually, I think I've probably put edits into half of it *chuckle*; including starting a "library" section and listing things like Fsin, Fsqrt and iSqrt. I think that it's possible to work out the Sinclair Basic compatible statements, but anything not compatible needs to be documented more fully. So let's start with that.

1> Are there any words that are NOT already in the reserved word list - <!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Identifier#Reserved_Identifiers">http://www.boriel.com/wiki/en/index.php ... dentifiers</a><!-- m --> that we should know about?

2> Are there any extensions to the language, such as with PEEK and OVER that we don't have documented there?


Re: What don't we know about? - britlion - 06-04-2010

Just added a ref for HEX and HEX16. I didn't know about those, but spotted them in an announcement I hadn't paid enough attention to :-)


Re: What don't we know about? - britlion - 06-04-2010

Added << and >> as synonyms for SHL and SHR.

I didn't see anywhere documenting them, but LCD seems to be using them in code that compiles....


Re: What don't we know about? - boriel - 06-04-2010

britlion Wrote:Added << and >> as synonyms for SHL and SHR.
Thx!! 8)

Quote:I didn't see anywhere documenting them, but LCD seems to be using them in code that compiles....
Yes, they are for Integer types (uByte, Byte, Uinteger, Integer, Ulong, Long).
It's supposed (ahem... :roll: ) bAND, bOR, bNOT, bXOR, bTEST, bSET and bRESET will be ready in this version, 1.2.6 :oops: