I have this code in C, the variable p is a 20 element array. However only the first two items are initialized. Is this possible in pascal as well?

TIA, Darius

struct point {
   int    x;
   int    y;
};

struct point p[20]= {
    {0, 100},
    {3,1}
};
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to