02-28-2019, 01:25 PM
(This post was last modified: 02-28-2019, 01:55 PM by ldarrambide.)
Yes, though it was only for the scope, not static property.
Last one for now.
ARRAY(int) a
for _i 0 10
a[]=_i
out a[_i]
ARRAY(int)* b=&a
Shuffle_Int(b)
Function Shuffle_Int
function ARRAY(int)'*Liste
_i=Liste.len
Error in <open ":3263: /43">Shuffle_Int: missing parts.
Why???? (passing by reference is the same)
Shuffle_Int(&a)
function ARRAY(int)'&Liste
I want to alter directly the int ARRAY...
Finally found that if i say the function returns int
function# ARRAY(int)'&Liste works....
But using a pointer to directly modify the array should be without any return type, no?
I'm a bit lost there....
Last one for now.
ARRAY(int) a
for _i 0 10
a[]=_i
out a[_i]
ARRAY(int)* b=&a
Shuffle_Int(b)
Function Shuffle_Int
function ARRAY(int)'*Liste
_i=Liste.len
Error in <open ":3263: /43">Shuffle_Int: missing parts.
Why???? (passing by reference is the same)
Shuffle_Int(&a)
function ARRAY(int)'&Liste
I want to alter directly the int ARRAY...
Finally found that if i say the function returns int
function# ARRAY(int)'&Liste works....
But using a pointer to directly modify the array should be without any return type, no?
I'm a bit lost there....