Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Text with accents in file
#9
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....


Messages In This Thread
Text with accents in file - by ldarrambide - 02-27-2019, 04:29 PM
RE: Text with accents in file - by Gintaras - 02-27-2019, 04:55 PM
RE: Text with accents in file - by ldarrambide - 02-27-2019, 05:06 PM
RE: Text with accents in file - by Gintaras - 02-27-2019, 05:30 PM
RE: Text with accents in file - by ldarrambide - 02-27-2019, 05:45 PM
RE: Text with accents in file - by Gintaras - 02-27-2019, 05:59 PM
RE: Text with accents in file - by ldarrambide - 02-27-2019, 07:57 PM
RE: Text with accents in file - by Gintaras - 02-27-2019, 08:04 PM
RE: Text with accents in file - by ldarrambide - 02-28-2019, 01:25 PM
RE: Text with accents in file - by Gintaras - 02-28-2019, 01:55 PM
RE: Text with accents in file - by ldarrambide - 02-28-2019, 02:00 PM
RE: Text with accents in file - by Gintaras - 02-28-2019, 02:22 PM
RE: Text with accents in file - by ldarrambide - 02-28-2019, 02:26 PM
RE: Text with accents in file - by Gintaras - 02-28-2019, 02:37 PM
RE: Text with accents in file - by Gintaras - 02-28-2019, 02:39 PM
RE: Text with accents in file - by ldarrambide - 02-28-2019, 02:42 PM
RE: Text with accents in file - by Gintaras - 02-28-2019, 04:00 PM
RE: Text with accents in file - by ldarrambide - 02-28-2019, 04:10 PM
RE: Text with accents in file - by Gintaras - 02-28-2019, 04:41 PM
RE: Text with accents in file - by ldarrambide - 02-28-2019, 04:48 PM
RE: Text with accents in file - by Gintaras - 02-28-2019, 04:57 PM
RE: Text with accents in file - by ldarrambide - 02-28-2019, 05:42 PM

Forum Jump:


Users browsing this thread: 7 Guest(s)