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:37:30
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:
01412812
Views:
161
What's inelegant about MyProp = "1.00"? It does exactly what it says. It's a string...

+++ Rick ---

>>>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?
>>
>>
>>="1.00"
>>
>Thanks - that works, I (re-)discovered that about the same time Naomi pointed it out. As I remarked to Naomi, I was hoping for something a little more elegant.
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform