Can someone just help me refresh my mind?
How do you specify hex values in a Visual Basic 6 / VBScript Source?
It's not 0xABCD as it is in C++, that's what I can remember... It was something similar... But what?
Can someone just help me refresh my mind?
How do you specify hex values in a Visual Basic 6 / VBScript Source?
It's not 0xABCD as it is in C++, that's what I can remember... It was something similar... But what?
Try &HABCD, that's how it works for most BASIC languages.
VBScript
\ VBA
\ VB6
(and lower):
Dim MyValue As Integer
MyValue = &h1234
VB (.NET Framework)
:
Dim MyValue As Integer = &h1234
Versions are usually backwards compatible syntax-wise, you cannot always use newer syntax in older versions.
&H<hex-value>
if my memory serves my correctly.
Like: &HABCD
msgbox hex(255)