Program automatically runs prefrences??????

Discuss PocketC for Palm OS (including Desktop Edition)

Postby Glasswalker on Thu Apr 05, 2001 6:19 am

Hello again all, I finally bought the full version of the desktop edition... And I am trying to code a program that is an experiment in neural networking. for learning purposes on the palm... it is almost done (about 80%) but now I am to the point where I am ready to do a test run on the neural net... the problem is when I input data and run the neural net, as soon as it outputs the data (I know it does, because I see the screen refresh for a split second with the output on it) it automatically opens the palm prefrences program???? and looses my current program...

I can't figure this out for the life of me... but I would gladly send anyone who would like to help a copy of the source and the prc file... (source is long)

I would really appreciate any feedback at all on this one as it is really frustrating me...

Posts: 47
Joined: Wed Mar 21, 2001 12:18 am
Location: Canada

Postby jstadolnik on Thu Apr 05, 2001 6:07 pm

See the "PocketC 4 Suggestions" thread below.

Posts: 1741
Joined: Wed Dec 06, 2000 3:34 am
Location: USA

Postby mbaker on Fri Apr 06, 2001 3:28 am

have you tried adding a "waitp()" statement at the end of your program before it exits. That would pause the program until the screen was tapped.
Posts: 8
Joined: Tue Dec 05, 2000 12:00 pm

Postby Tom Miller on Fri Apr 06, 2001 12:53 pm

Sounds like you need the waitp() like mbaker suggests. But if your program exits due to a runtime error it'll spill you out into Preferences. This is true for version >=4.0 including 4.02.

Tom Miller
(Preferences?! What the. . .?!) :-)
Tom Miller
Posts: 80
Joined: Thu Mar 15, 2001 2:27 pm

Return to PocketC for Palm OS

Who is online

Users browsing this forum: No registered users and 1 guest