Re: Anxiety over 4.0
- Posted by Bernie Ryan <xotron at bluef?og.co?> Jun 11, 2008
- 758 views
Jeremy Cowgar wrote: > > Bernie Ryan wrote: > > > > Jeremy: > > > > Wouldn't it be a better idea to use a character in a reserve word that > > is illegal in any identifier name; that would guaranty that a reserve word > > could not be used as a identifier and would never break code. > > > > Bernie, > > I am not sure I follow. I was thinking of a simple list in parser.e such as: > > reserved_words = { "forward", "backward", "upside_down", "rightside_up" } > > Can you give me an example of what you mean? > > btw... I do like the new single spaced messages. It is much easier to read. > > -- Jeremy A identifier can contain any caracter a-z or A-Z or _ ( underscore ) or 0123456789. Any other character is illegal in an identifier therefore you could use any other single character in your reserved name word. Example: continue@ Bernie My files in archive: WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API Can be downloaded here: http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan