Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to add numeric string as property value?
Message
 
 
To
15/07/2009 18:26:03
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows Server 2003
Miscellaneous
Thread ID:
01412603
Message ID:
01412609
Views:
76
>>>Can someone refresh my memory:
>>>
>>>I have a class property, I want to put in "1.00" (i.e. a string) as its value. If I type in 1.00, it's set to be a numeric. How would I enter the string "1.00" in this case?
>>
>>Try
>>
>>= "1.00" or set in run-time.
>
>I just discovered that myself a few seconds ago. It seems a little inelegant. I was hoping there might be a trick like typing a single quote ' before a number (like in Excel) to indicate that whatever follows is to be treated as a string.

Not really - there seems to be no additional tricks.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform