Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21419

Assing hex value to the Long variable

$
0
0
I assigned hex value(FFFF) to the long variable like following code.

Dim lval As Long
lval = &HFFFF

I expect lval become 65535.
But it become -1.
How to fix this?

Viewing all articles
Browse latest Browse all 21419

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>