Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VB's strings conversion
Message
From
28/05/2009 14:40:38
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows NT
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01402498
Message ID:
01402521
Views:
49
>>>
>>>vBackSpace = 0x21
>>>
>>>
>>>or even:
>>>
>>>#define vBackSpace  0x21
>>>
>>
>>Wouldn't that be 0h21? 0x being for numbers, and 0h for strings. I know you and I and probably all of the Russians there would have this problem of swapping these accidentally...
>
>
>
>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?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform