Re: pass by ref
- Posted by jimcbrown (admin) Feb 12, 2016
- 2013 views
petelomax said...
dcuny said...
OE gives type safety on passing parameter into routines, but not out. It also doesn't have good semantics for multiple assignments back out.
While Eu does not have any mechanism for heterogeneous assignment on declaration, I don't see anything wrong with
integer a sequence b mytype c myothertype d {a,b,c,d} = somefunc()
Am I missing something?
Actually, dcuny wrote about this a year ago:
http://openeuphoria.org/forum/m/125975.wc