Author Topic: Unknown  (Read 7251 times)

0 Members and 1 Guest are viewing this topic.

Peter

  • Guest
Re: Unknown
« Reply #15 on: July 24, 2011, 07:49:44 AM »
Hi Charles

Okay, (#unique on)  must be standard at all!
Exit is that evil word, because Exit Sub is not a whole word like  EXITSUB

before the compiler compiles, all spaces must be deleted. This is done by the parser. In German = Syntaxanalysierer.
Do you have no Parser? 

Well, I found this word (EXIT) in the gl library, hidden under many other words.
#unique gave me the tip. 

Charles Pegge

  • Guest
Re: Unknown
« Reply #16 on: July 24, 2011, 12:34:36 PM »
If you want to tighten up further, Peter:

#autodim off

This ensures that all variables are defined either using a dim statement or in the C style.

Oxygen has lexing, parsing, expression analysis, semantics and several other distinct processes. I endeavour to create a strong modular architecture.

There are many exits and many ends!

You can use  'endif' instead of  'end if' if you prefer. Also enddo and endwhile and endsel, but I have not done this for 'exit' yet.

Charles


efgee

  • Guest
Re: Unknown
« Reply #17 on: July 25, 2011, 11:40:06 AM »
Peter,
I added this information (and more...) to the wiki 14 days ago:
http://www.oxygenbasic.org/wiki/index.php/FAQ

 8)

« Last Edit: July 25, 2011, 11:43:28 AM by efgee »

Charles Pegge

  • Guest
Re: Unknown
« Reply #18 on: July 25, 2011, 02:33:59 PM »

Thanks for all your Wiki notes Frank. Much appreciated.

Charles