> i seem to be getting expression syntax error when I try
> datatype* var = ( datatype ) ptr;
> the memory pointer is breing created fine. I just cant seem to use it for
> my variable??
datatype* var = (datatype*) ptr;
> also, once I have var, how do I set it with some data?
> can I just say:
> var = {"some stuff","some more stuff","last stuff"};
StrNCopy( var->stuff1, "some stuff", 20);
> if my datatype is
> typedef struct{
> char stuff1[20];
> char stuff2[20];
> char stuff3[20];
> }datatype;
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/