Hi,

This is certainly a stupid question but I have a problem when I define a
struct table.

This is the definition of my struct :

typedef struct _CODE_POSTAL
{
 UInt32 dwCode;
 Char *szCommune;
 UInt8 iIndex;
}CODE_POSTAL, *PCODE_POSTAL;

And this is the declaration of my table :

CODE_POSTAL CodesPostaux[TAB_COMMONS]=
    {
    {9420 ,"Aaigem"},
    {8511 ,"Aalbeke"},
    {9300 ,"Aalst"},
    {3800 ,"Aalst"},
    {9880 ,"Aalter"},
    {3200 ,"Aarschot"},
    {8700 ,"Aarsele"},
    {8211 ,"Aartrijke"},
    {2630 ,"Aartselaar"},
    {4557 ,"Ab�e"}
    };

But when I try to load a value in the table (CodesPostaux[i].szCmmune, for
exemple), I've an error ...

Could someone help me ?

Jean-Marc


-- 
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