Description of exceptional values?

Discuss PocketC for CE (including Desktop Edition)

Postby Thorsten Godau on Tue Sep 03, 2002 4:41 am

Hi all,

another question (a lot of things seems to
be bad documented :twisted:):

i found out, that a variable with an infinite value
contains "1.#INF". So if i do this

string = "" + value;
if ( string == "1.#INF" )
display "INFINITE" inside the control
display the value inside the control

i can catch this exception an react.

Are there some other "special" signatures like this
in PocketC?

Regards, Thorsten
Thorsten Godau
Posts: 13
Joined: Tue Jul 30, 2002 3:12 pm
Location: Germany

Postby wolfgang on Thu Sep 05, 2002 4:14 pm

I think apart from "1.#INF" (for overflow) there is also "-1.#INF" (for underflow).


Composing music on the PocketPC! -
Composing music on the PocketPC! -
Posts: 281
Joined: Tue Dec 12, 2000 4:22 am
Location: USA

Return to PocketC for CE

Who is online

Users browsing this forum: No registered users and 1 guest