Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hex values
Message
From
21/08/2000 15:32:44
 
 
To
21/08/2000 11:39:38
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00407342
Message ID:
00407482
Views:
25
>Can anyone explain to me why hex(65535) returns FFFF but val(&HFFFF) returns -1?
>
>Thanks,
>David

This is what the val help says it will do. Interesting though that val(&HFFFE) returns -2 and val(&HFFFD) returns -3 and so on...
~Joe Johnston USA

"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams

Previous
Reply
Map
View

Click here to load this message in the networking platform