Showconsole() and Putsl() not working

Postby Snoid on Wed Feb 12, 2003 3:11 pm

Hey yall..l

Working with PocketC 3.8, pocketclib 1.0, and palm OS 4.1

I'm chugging through a series of on-line tutorials but
The following functions retur errors:

:( showconsole()
:( putsl () //puts() does work though

can anyone explain?

reply direct if you can
Snoid
 
Posts: 2
Joined: Wed Feb 12, 2003 3:04 pm
Location: Canada

Postby soinsg on Wed Feb 12, 2003 4:45 pm

The tutorials you are reading are most likely for WinCE/PPC not Palm OS.
graph_off() is probably the same as showconsole(), applets always start in graph_off() mode.
For putsl() just do:
Code: Select all
putsl(string str) {
puts(str + "\n");
}
soinsg
 
Posts: 198
Joined: Thu May 17, 2001 4:26 pm

Postby wolfgang on Wed Feb 12, 2003 5:04 pm

Hi,

I suspect you are talking about my tutorial on http://www.pdamusician.com - this is for WindowsCE. In the introduction I do however explain the small changes required to get it to work for the Palm version. (as stated in the posting above, puts is used instead of putsl, and no showconsole() is necessary).

Wolfgang


Composing music on the PocketPC! - http://www.pdamusician.com
Composing music on the PocketPC! - http://www.pdamusician.com
wolfgang
 
Posts: 281
Joined: Tue Dec 12, 2000 4:22 am
Location: USA


Return to PocketC for Palm OS KB

Who is online

Users browsing this forum: No registered users and 2 guests

cron