Re: Pass by Reference

new topic     » goto parent     » topic index » view thread      » older message » newer message
mattlewis said...
-- test.ex 
without inline 
 
function foo() 
	return {1, 2, 3} 
end function 
 
object a, b, c, d 
 
{a, b, c, d } = foo() 

$ eui test 
 
test.ex:10 
subscript value 4 is out of bounds, reading from a sequence of length 3 
test.ex:10 
Segmentation fault (core dumped) 

It's so much of an error that you get a segfault! Hmm....need to look into that.

ticket #911 raised

Pete

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

Search



Quick Links

User menu

Not signed in.

Misc Menu