Re: Routine
- Posted by jeremy (admin) Apr 09, 2009
- 1177 views
OK, I svn'd the latest version, and installed Euphoria Interpreter 4.0.0 development (r1880) for Linux from eubins.
My GTK library uses a variable named 'routine'.
That now gives an error. Easily fixed.
But what does 'routine' now do?
Searching the docs is hopeless here, routine is far too common a word.
It was made a reserved word for possible future use for creating a general routine that could be either a procedure or function determined simply if a return statement exists. The fact that we can now ignore return value makes the distinction between procedure and function simply it's name. public routine abc() return 10 end routine was discussed for about 5 minutes before we decided that we have bigger things to deal with, we tabled the whole discussion for later. No one knows if it will happen or not, but we are trying to get all major breaking issues out of the way with 4.0, so it was reserved but is not used.
Jeremy