pass by reference

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

I keep reading that you can't use pass by reference
in Euphoria. That is not true. You can use pass by
reference on any variable or atom or any fixed
length structure. The only thing you can't pass by
reference is a sequence because it is dynamic and
there is no way to control the errors that would
be caused by a user. The way you pass by reference
is to use allocates, peeks and pokes. 

Bernie

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

Search



Quick Links

User menu

Not signed in.

Misc Menu