Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to add numeric string as property value?
Message
 
 
À
15/07/2009 18:26:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows Server 2003
Divers
Thread ID:
01412603
Message ID:
01412609
Vues:
75
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform