Page 1 of 1

PostPosted: Fri Feb 01, 2002 3:12 am
by LordMike

Newbie here in need of some advice. How portable is the PocketC language between the Palm version and the PocketPC/WinCE versions? In other words, how easy is it to port PocketC code from palm to wince and vice versa. I looked at the language overview, and it seems like the two versions of the language are completely incompatable with each other. Is this true? I could use some real world advice and experience. Any help regarding this matter is greatly appreciated!



PostPosted: Fri Feb 01, 2002 3:32 am
by wolfgang
The core language is almost identical for both versions; the same goes for parts of the built-in functions (string, math). But it gets hairy in the area where the Palm platform differs greatly from WindowsCE - e.g. memos vs. files, Palm databases vs. Windows databases, and especially events/GUI. It's not the fault of PocketC, just the two Platforms don't have to much in common.

In my opinion, it is pretty straightforward to convert data structures, math routines etc. I myself have written a couple of routines that run on both platforms. But the effort to convert a full-blown program with a sophisticated user interface, graphics, or databases would be comparable to writing the program again from scratch.