Page 1 of 1

PostPosted: Sun Mar 03, 2002 4:01 am
by WauloK
GetPTVersion()
returns 1826 for 7.2.2
Documentation says it returns a 3 digit hex value.
Also, if I try:
if (GetPTVersion()<1825) alert("Version too low blah!");
It doesn't bring up the alert.

Funky groovy PocketC support site.
http://pocketc.bangrocks.com/
If you love PocketC, you'll love this!
Join and become part of the community!
News, reviews, free source code and more!

PostPosted: Sun Mar 03, 2002 4:11 am
by jstadolnik
1826 (decimal) is 0x722 in hex.

Joe

The PToolboxLib guy.
http://www.geocities.com/retro_01775/PToolboxLib.htm

PostPosted: Sun Mar 03, 2002 4:35 am
by WauloK
erk
my bad. bad coding
i was testing the result by giving a lower value to check against. It's all screwy.
should have been if (GetPTVersion()<1827) { alert()} just to make sure the alert works.

PS: Still can't check for DB existence (refer other thread).

Funky groovy PocketC support site.
http://pocketc.bangrocks.com/
If you love PocketC, you'll love this!
Join and become part of the community!
News, reviews, free source code and more!