Any suggestions?
This code was copied out of O'Reilly Palm Programming book with the only
change being that I changed 'CharPtr s;' to 'Char* s;' to make it
SDK3.5 compliant:
------------------------------------------------------------
// Table Code
int i;
int j;
for (i = 0; i < kNumTextColumns; i++) {
for (j = 0; j < kNumRows; j++) {
Char * s;
gHandles[i][j] = MemHandleNew(1);
if (!gHandles[i][j])
return false
s = MemHandleLock(gHandles[i][j]);
*s = '\0';
MemHandleUnlock(gHandles[i][j]);
}
return false;
}
// End Table code
--------------------------------------------------------------
It errors with the following:
Error : ';' expected
Scangeac.c line 298 s = MemHandleLock(gHandles[i][j]);
I have tried all kinds of things to fix this but nothing seems to work, I
currently have it in the start application function
- matt
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/