View Single Post
  #3  
Old 11-20-2008, 09:30 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by Novo View Post
From what I know, Graal encodes the values as string-representations... So there is no true 'type' of variable. value = 12 and value = "12" is the same thing!

The best way to do the bit-shift is just... number = number >> 2;
This would work for unsigned values... And would do a bit-shift!

There is no special signed bit-shift around.

As for the max integer... Because values are numbers represented by strings... There is no real boundary.

You might want to look here for basic operators:
http://wiki.graal.net/index.php/Crea...uide#Operators
WhiteDragon is of sufficient skill to be able to tell if Graal has a max integer value or not. If he says he's hitting the limit then you should do a test for yourself right now before saying otherwise.
__________________
Reply With Quote