Beginner question - datatypes

Previous topic - Next topic

FutureCow

Hi!
Would someone be so kind as to point me in the direction of the sizes of the available datatypes?

eg. is Integer -32767 to 32768 or 0 to 65535?
What's the range on a float?
Are there double integers? Double floats?
What's the maximum string length?

I guess these change between platforms, but I can't find it in the docs. Any takers?

Thanks!
FutureCow

Kitty Hello

integer is 32 bit integers. That's -2147483647 to 2147483648.
doubles are described here: http://en.wikipedia.org/wiki/Double_precision
floats here: http://en.wikipedia.org/wiki/Single_precision

On ARM processors GLBasic uses "floats" instead of "doubles" for floating point numbers.