Lets say I have the folloing global array (in C):
Int16 gintAnArray[10]     = {'1','2','3','4','5','6','7','8','9','0'};
and its external declaration
extern Int16 gintAnArray[10];

I can acces the array from any segment.

But if I do this:
const Int16 gintAnArray[10]     = {'1','2','3','4','5','6','7','8','9','0'};
and its external declaration
extern const Int16 gintAnArray[10];

I can only access the array from the first segment.

Is there a way to define a global constant that can be access from all
segments?

Thanks

-- 
Regis St-Gelais, P. Eng. / ing.
Software Development / D�veloppement informatique
www.laubrass.com
--



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

Reply via email to