Re: Pass by Reference

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

I'm writing an application that has multiple digital filters. Calling the filter:

  • Calculates a filtered result, and
  • Updates the filter's history.

Euphoria 4.1 lets you do this:

{ theFilter, theResult } = do_filter( theFilter, theInput ) 

The idea is that in Euphoria you can always identify the exact line where an object changes its value.

_tom

IIRC, the idea for the desequencing operation (a "poor man's multiple return value") originally came from dcuny.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu