Discussion of Inner Space
Moderators: Lavish Software Team, Moderators
-
Jon100
- Non-Subscriber
- Posts: 32
- Joined: Wed Nov 24, 2004 1:38 pm
Post
by Jon100 » Wed Apr 09, 2008 8:33 am
Int seems to work as expected but uint does not. Is it being mis cast somewhere in the declare code?
Code: Select all
declare myUint uint local 3000000000
declare myInt int local 3000000000
echo "${myUint} uint set with declare"
echo "${myInt} int set with declare"
myUint:Set[3000000000]
myInt:Set[3000000000]
echo "${myUint} uint set with method"
echo "${myInt} int set with method"
Output:
Code: Select all
2147483647 uint set with declare
2147483647 int set with declare
3000000000 uint set with method
-2147483648 int set with method
Jon100 / Dorset
"No of course I don't use that macro thingy to 6 box... I just use 6 keyboards at once..."
-
Lax
- Owner
- Posts: 6634
- Joined: Fri Jun 18, 2004 6:08 pm
Post
by Lax » Wed Apr 09, 2008 9:24 am
Fixed in build 4616 -- current development build of IS as of now.