NOT IMPLEMENTED YET !
Instead of having only one return value as in most languages, we plan to have multiple return values.
The syntax will be :
Declaration :
(int a, SomeObject b) someFunction(ArgumentList);
Definition :
(int a, SomeObject b) someFunction(ArgumentList) { a = 2; b = new SomeObject(); return; }
Call :
(int a, SomeObject b) =someFunction(Arguments);
Special case when no result at all : the 'sub' keyword will dissapear for something like :
() aSubMethod() { return; }
More information : See this thread in the forum.
NOT IMPLEMENTED YET !
No comments yet