Max value for uBasic integer? - Script Writing - CHDK Forum

Max value for uBasic integer?

  • 1 Replies
  • 4334 Views
Max value for uBasic integer?
« on: 12 / September / 2008, 02:00:54 »
Advertisements
what is the maximum value for an integer in uBasic?

i'm attempting to get my camera to work as an infinite intervalometer.

i have delete image and eye-fi working with chdk. i'm getting very close.

*

Offline reyalp

  • ******
  • 14125
Re: Max value for uBasic integer?
« Reply #1 on: 12 / September / 2008, 02:41:43 »
It should be a 32 bit int, +2147483647 -2147483648

Ubasic does use shorts in some places, but not for variables as far as I can tell.
Don't forget what the H stands for.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal