At 03:42 PM 2/7/2002 -0800, you wrote:
>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
const UInt8* pCharArray = F2000m;
If it's const ya gotta initialize it.
>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/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/