As a beginning programmer in C (for Palm OS) i stumbled on a parse error i can't get rid of. Hope someone can help me with some (obvious) beginner mistakes i might look at.
These are the portions of code i think are relevant:
Well, you define myTimerDbDataType as 'DATA', which is incorrect. If you want a string, you need to use "" instead of '' (they show that it is a character, not a string). If you wanted a character (I think you do, since you are casting it to a Uint (can't do that with strings)), you will need to only pass one character.
No, i want to use type as a 4-byte value (not a null terminated string) that generally contains readable characters. It's done exactly this way in other examples i have.
Using double quotes gives the same error.
As the errror occurrs before the type parameter, my guess is that something is wrong with (resolving) the function name.
As the call and the function are not in the same source file, do i need to prototype the functions somehow or maybe tell the compiler to also look in other source files?
This suddenly gave me a ton of other errors (gives me something to do).
It looks like 'MyTimerDB.c' wasn't processed at all. I'm not sure what changed this, but at least i can continue now.