Re: goto / global variables
Daniel Berstein wrote:
> Robert Craig wrote:
> > Your proposed "static" keyword is unnecessary because
> > "static" is the *default* in Euphoria. All symbols are "static"
> > unless they are declared with "global" in front of their
> declaration.
> > For a symbol to be accessible from another file you *must*
> > declare it as "global".
>
> Colin Taylor also notice this... Emmm... I'm sorry, I should have
> tested this first. Anyways this is a great news!!!! I didn't thought
> Euphoria was so brilliantly concieved! (Thanks again Rob).
Like i said about a half year ago, for real oop we only need a
pre-processor, and then we can have *full* compatible oop.
Any volunteers, maybe David Cuny, he already wrote an pre-processor.
If i will try to write a pre-processor, i'll first write a generic
library with pre-process-routines, so only the weird stuff has to be
done with new routines. And new pre-processors are written in a sec.
(Maybe a new version of Text-Gui has the an option box where you can
chose which pre-processors should be activaded, for this file/project. I
suggest project, cause that's the next function i am in favor off.)
If we write a oop-preproccesor and time the benchmarks again, we can
really wipe Java's but with this. (Normal respons from non-euphorians
is, yeah offcourse it's faster, it's not OOP.)
Ralf Nieuwenhuijsen
nieuwen at xs4all.nl
|
Not Categorized, Please Help
|
|