>>>Nope. That is 21 HEX and it is 0x21 :-)
>>>if you look at the VB declaration they are defined as INTEGER not CHAR :-)
>>
>>Then in VB having
>>
vBackSpace = chr(21)
>>should raise an error, shouldn't it?
>
>I doubt it, but I never worked with VB.
>I think this is a valid expression:
>
>vBackSpace = chr$(21)
>
>but as I said, I am not sure.
>I saw it in Word macros but I am not sure if this is valid for VB :-)
Same here - all of my exposure to VB was through VBA (in Word, Excel and sometimes Access); I am uncertain but I seem to remember that, at some point, versions of functions with name$() were added without the $, so it looked less like classic Basics. Still, chr(21) would return a character, and if vBackSpace was declared as a string, woudln't it go against its declaration as an integer?