The help for hex$ in pb3.5 says it only covers -2,147,483,648 to 2,147,483,647; ie
long interger range. When I try your code I get err 6 overflow at print Hex$(x???)
KS
added:
You will get the overflow condition if you have error checking turned on in options.
KS
------------------
[This message has been edited by keith shelton (edited August 04, 2005).]
Announcement
Collapse
No announcement yet.
Data types
Collapse
X
-
What version are you using? I copied & pasted your code and I got FFFF8000. I am using 8.0. Don't know if it's a bug or not.
Steve
------------------
Leave a comment:
-
-
Data types
Can you explain why I get the following?
x??? = 4294934527
print HEX$(x???)
Answer: FFFF7FFF as expected
x??? = 4294934528
print HEX$(x???)
Answer: 8000 Why not FFFF8000
------------------
Tags: None
-
Leave a comment: