Discuss topics that apply across the products, such as the PocketC language, or development in general

Postby johncraw on Fri Apr 08, 2005 12:09 pm

I have changed my application and now have need of the pow function. It worked fine in the emulator, but on a Zire 31 it didn't. No message, it just did not return the correct value.
In looking at the documentation the math functions need mathlib.prc. I placed this on the device and it now works.
Now the question. I can distribute and install mathlib.prc on any device, however the documentation also states that some devices already have it. Do I need to check to see if it is already there before installing, just install over the existing one, if it is there, or forget the whole thing and create my own function that doesn't need the mathlib?

Thanks in advance for any direction
John Crawford
Posts: 64
Joined: Mon May 24, 2004 11:39 am
Location: Canada

Postby dewey on Fri Apr 15, 2005 2:49 pm

You can just install MathLib on the device - if a copy already exists, it will be overwritten. This is ok since the library hasn't changed in the last 6 years.
Site Admin
Posts: 749
Joined: Sun Oct 21, 2007 5:12 am

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest