Re: Pass by Reference
- Posted by jimcbrown (admin) Jan 13, 2015
- 2258 views
How does this behaves with routine_id? I assume that you can't determine this ahead of time, so you simply have to implement this as it currently is, and hope for the best... Unless someone's got a better idea.
Agreed. If we are using desequencing behind the scenes, then getting the routine_id() of a function returning multiple values will just work, but you'd get a sequence back from call_func() and you'd have to manually desequence it.
How do you declare the number of values returned? I assume the parser keeps track of the count, and complains if they don't balance.
Works for me.
There's no way to declare a return type. Then again Euphoria doesn't currently declare a return type
Not sure why we need one....
The main syntactic difference is that most languages appear to use the underscore {_} character rather than {?}.
But _ is a valid variable name since 4.0.0