Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Any missing reserved identifier in the docs?
#1
I think it would be fine to confirm the list of reserved identifiers is complete (even if the linked pages don't exist yet). Then it will be easy to keep it updated with every ZX Basic version.

boriel, may you check it?
Reply
#2
programandala.net Wrote:I think it would be fine to confirm the list of reserved identifiers is complete (even if the linked pages don't exist yet). Then it will be easy to keep it updated with every ZX Basic version.

boriel, may you check it?
Its currently complete, because I take them from zxblex.py (the lexer). You can see that file the source code (every token is defined there). But keep in mind that POINTERs, TYPEs, SELECT/CASE and maybe LIST might appear in the future.

Also, UBOUND and LBOUND can be easily defined as external functions. I'm hesitating in creating a bound.bas file (to be included) or integrate them in the compiler as reserver words. The 1st approach is straighforward. The 2nd will require more work and the result will be the same. :|
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)