Page 1 of 1

Lookup tables GetInts

Posted: Thu Aug 15, 2013 5:53 pm
by kersing
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?

Re: Lookup tables GetInts

Posted: Fri Aug 16, 2013 8:27 am
by JonnyW
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

Re: Lookup tables GetInts

Posted: Fri Aug 16, 2013 3:58 pm
by kersing
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