pass by reference
- Posted by Bernie Ryan <xotron at localnet.com> Feb 12, 2002
- 631 views
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