I am attempting to declare a const array:

const UInt8 F2000m[4] = { 3,   4,  1,  1 };
// more declarations like this...

and then include the address of it when
initializing a structure later on.  The structure
has a member:

const UInt8 *pCharArray;   // Ptr to variable length array

I get:

Error   : illegal initialization
HotSpot.c line 102                         { 2000, 4, F2000m } };

How can I create a pre-defined table of addresses?

Thanks,
GB




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to