[DOS] Can we emulate "pass by reference" in Eu?

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

Dear List

For my general knowledge, rather than with a specific program in mind, I'd like
to ask how to pass a non-global variable (two scenario's: an atom; a sequence) as
an argument to:
1 a procedure that changes the variable (eg increments it)
2 a function that changes the variable (eg increments it) but returns some
other, different, variable

A "minimal" example to achieve the above, would be enough.

Thank you

Alex Caracatsanis

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

Search



Quick Links

User menu

Not signed in.

Misc Menu