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
&H<hex-value> if my memory serves my correctly.
Like: &HABCD
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.
msgbox hex(255)