If I do the following I get an error. I am unclear as to how to Initialize
a datetype. I have an application with pirate-ed code for date handling in
my table list. I also have an initialize routine that works as long as I
don't add the DateType. Anyhow, it goes something like this:
Initialize() {
DateType *myDate = {98,2,1};
Item item[0] = {34,56,&myDate};
etc.
I compile, but with warning, initialization of pointer as integer without
cast ..??
I have never loaded a struct within a struct intially at compile time. I
have however, accessed the struct with the indirection operator at runtime,
i.e. myDate->year = 98;
Can anyone help?
Thanks,
David Whitehurst
[EMAIL PROTECTED]
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/