emulator and formatting

Discuss PocketC for Palm OS (including Desktop Edition)

Postby hombri on Mon Sep 20, 2004 6:48 pm

just need to know where is the emulator to run aplications on my PC BEFORE installing on my palm.

second, numbers can be writed as 12.34 instead 1.234000000e01?? how?

finally is somebody have a pocketc tutorial will reduce my numbers of questions here....

thanks a lot
Posts: 2
Joined: Mon Sep 20, 2004 6:43 pm

Postby Mikael on Tue Sep 21, 2004 8:48 am


Don't know if this is of any help to you:

@cid "FMAT";
@ver "1.0";
@dbname "Format";
@name "Format";

float width=3.56789;
float width2=3.12345;

alert(format(width,2));//prints 3.57
alert(format(width2,2));//prints 3.12


Maybe try doing a search for 'PocketC tutorial' or just 'tutorial' in '<u>search</u>' at the top of the forum page. I seem to remember that Wolfgang had one on his site. Failing that, try searching for the same on the internet. There are bound to be a few sites out there.

Posts: 156
Joined: Sun Apr 13, 2003 9:19 am
Location: Denmark

Return to PocketC for Palm OS

Who is online

Users browsing this forum: No registered users and 2 guests