Re: Jesus and his HEX Number Problem {Rob??}
- Posted by Terry Constant <constant at FLASH.NET> Jul 03, 1998
- 642 views
On Fri, 3 Jul 1998 04:18:14 -0700, Hawke <mdeland at NWINFO.NET> wrote: >------------------------------- >constant testnum = #FFFFFFFF >integer testnum2 >testnum2 = #FFFFFFFF >printf(1, "%d\n",testnum) >printf(1, "%d\n",testnum2) >------------------------------- > ><Stumped>Hawke'</Stumped> According to Refman.doc, and I quote: "type integer must be atoms with integer values from -1073741824 to +1073741823 inclusive." Thus, the largest value testnum2 can be is: testnum2 = #3FFFFFFF Hope this clarification helps. Obviously, this limitation is related to the attempt to use #FFFFFFFF as equivalent to -1. Terry Constant constant at flash.net