Re: Pass by Reference

new topic     » goto parent     » topic index » view thread      » older message » newer message
dcuny said...

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.

dcuny said...

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.

dcuny said...

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....

dcuny said...

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu