Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Text with accents in file
#11
Sorry fir wasting your time Gintaras, but i'm a moron on this one.

The 'Liste' varible is a defined structure in another macro, did not take care of the red color when writing code.

BUT, the reference value in function works.

but if i want to use a pointer, that does not work as expected (in C , dereferncing the pointer should access the ARRAY.

ARRAY(int) a
for _i 0 10
    a[]=_i
    out a[_i]

ARRAY(int)* b=&a
Shuffle_Int(b)


Shuffle_Int
function ARRAY(int)'*anarray

_i=anarray.len
out _i   <====== outputs 10 as expected


out anarray[0] ====> Error (RT) in <open ":3263: /106">Shuffle_Int:  Exception 0xC0000005. Access violation. Cannot read memory at 0x32C0000. In qm.exe at 0x49EC4B (0x400000+0x9EC4B)

must use a double pointer and pass adress of array?


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: 1 Guest(s)