Does 0xfd mean the same thing as &hfd?
Announcement
Collapse
No announcement yet.
Hex question
Collapse
X
-
rocco
I don't know what "&hfd" means, but "0xfd" represents the hex number 'fd', which is 253 in decimal. The '0x' is the prefix for hex in many languages, so if '&h' is the prefix for hex is some other language (which makes sense) then yes, they are the same.
-
rocco
-
Various programming languages have different syntax conventions for denoting constants.
the scheme 0x123456789ABCDEF is hexadecimal in C and other languages.
&H123456789ABCDEF is used in others such as many assemblers and, as I recall, Visual Basic.
The nice thing about standards is there are so many from which to choose (!)
Comment
Comment