Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Return array in function with old quickmacros
#1
Hello,

when i write this code:

test function:

function'ARRAY(int)

ARRAY(int) a.create(3)
a[0]=1
a[1]=2
a[2]=3

ret a

(> to return an ARRAY when i call the test function in another macro)

it works with the new quickmacros (v2.2) but not with my old quickmacros (v2.1)

can you help me and tell me the working code for old version of quickmacros?

thank you very much
#2
TestFunction:

function ARRAY(int)&a

a.create(3)
a[0]=1
a[1]=2
a[2]=3

---------------

Macro:

ARRAY(int) a
TestFunction a


Forum Jump:


Users browsing this thread: 1 Guest(s)