FAQ  •  Register  •  Login

Any missing reserved identifier in the docs?

<<

programandala.net

Posts: 98

Joined: Fri Apr 09, 2010 12:50 am

Location: España/Hispanujo/Spain

Post Wed Jun 09, 2010 2:57 pm

Any missing reserved identifier in the docs?

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?
<<

boriel

Site Admin

Posts: 1463

Joined: Wed Nov 01, 2006 6:18 pm

Location: Santa Cruz de Tenerife, Spain

Post Wed Jun 09, 2010 9:41 pm

Re: Any missing reserved identifier in the docs?

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. :|

Return to Documentation

Who is online

Users browsing this forum: No registered users and 1 guest

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.

phpBB SEO