Page 1 of 1

PostPosted: Tue May 03, 2005 1:38 pm
by sergiorod
I've a little trouble with PToolboxLib
Can anyone help me with this code?
I use a Palm IIIxe with PalmOS 4.1 English version, PocketC Destop edition 7.0 (the last version.. I'm a registered user) and the last version of PToolBoxLib
Thanks in advanced.

//Load library:
library "PToolboxLib"

main() {

pointer p;
int i, day;

day = date(0); //today


while(GetDate(i,day,p)) {

//Next puts should be show the appointments defined
//in day variable, but only show start time and end time.
//Description and note are empty strings.
//Can anyone tell me why?

puts("Day "+day+", Appt #"+i+"\n");
puts("Start time: "+p[1]+"\n");
puts("End time: "+p[2]+"\n");
puts("Description: "+p[3]+"\n");
puts("Note: "+p[4]+"\n");

PostPosted: Tue May 03, 2005 6:57 pm
by jstadolnik
First make sure that you are using v7.6.2beta of the library. ... rms=v7.6.2


The PToolboxLib guy.

PostPosted: Wed May 04, 2005 1:45 pm
by sergiorod
It's true!!!
I'm working with PToolBoxLib 7.61.
The 7.62 beta 9 works fine with my code.
Thanks Joe... you are the best!!!!!