Re: pass by ref

new topic     » goto parent     » topic index » view thread      » older message » newer message
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

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

Search



Quick Links

User menu

Not signed in.

Misc Menu