Lookup tables GetInts

Forum for Flowcode v6 beta users

Moderator: Benj

kersing
Valued Contributor
Valued Contributor
Posts: 1878
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 536 times
Been thanked: 1043 times
Contact:

Lookup tables GetInts

Postby kersing » Thu Aug 15, 2013 5:53 pm

I was looking for a way to get (in simulation) all integer elements from a Lookup Table. GetInts seems like the macro to call. As it does not return a result I expect the parameter should contain the values after the macro call. It does not work as expected, are my assumptions wrong?
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

User avatar
JonnyW
Posts: 1230
Joined: Fri Oct 29, 2010 9:13 am
Location: Matrix Multimedia Ltd
Has thanked: 64 times
Been thanked: 306 times
Contact:

Re: Lookup tables GetInts

Postby JonnyW » Fri Aug 16, 2013 8:27 am

Hi Jac.

At the moment there is no way to return a pointer to an array - this may be something we need to look at but would change the simplicity of the 'return type' field.

This call should work as expected - it appears something in simulation is broken with regards to array concatenation, so I will look into it.

Jonny

kersing
Valued Contributor
Valued Contributor
Posts: 1878
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 536 times
Been thanked: 1043 times
Contact:

Re: Lookup tables GetInts

Postby kersing » Fri Aug 16, 2013 3:58 pm

Hi Jonny,

I know there are no pointers at the moment, that is why I was hoping the array operation would provide a work-around. Ok, I'll wait for an update...

Regards,

Jac
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis