Page 1 of 1

Unsigned Variables? If not, what's StrU() for??

Posted: Thu Jul 10, 2003 10:03 pm
by matthew180
Greetings,

If PB does not yet support unsigned variables, what is the StrU() function for? Being about to *display* the unsigned value of a variable really does me no good. Being able to *work* with unsigned variables, now that would be something.

Thanks,
Matthew

Re: Unsigned Variables? If not, what's StrU() for??

Posted: Thu Jul 10, 2003 10:46 pm
by Doobrey
Quite a few Win32 API commands return unsigned numbers, and using Str() on them could lead to the wrong number being displayed..
things like HD size for example, if you have a 4GB HD Str() could give you back -2GB