This is a snippet from a larger block of code. The print statements are included for testing.
Within 'main', if I ouput the 'cell_ptr' or 'params' pointers, it correctly returns pointer values but if I try to output an element from the params array, I get an '...illegal operation...' message.
Yet it works OK in the sub.
What am I doing wrong?
Thanks, Narue.
Closely examining my code, I also realized that the 'cells' array pointer never changes, so the data was overwritten within the 'for' loop. Not exactly what I wanted.
I edited the code as shown, and now it works. :)