Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Quick Question - What is # and $ in Fox 2.6???
Message
De
26/06/2002 13:03:14
 
 
À
26/06/2002 12:57:55
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00672537
Message ID:
00672550
Vues:
8
Believe it or not, I have the more obscure use of $ in literally hundreds of places in some FPD26 apps! I haven't looked at that in some time so when I do come across it in old code, I have to refresh my memory as to what I was doing at the time! :o)
Tracy

>Sunshine,
>
>The # symbol is used for 'not equal to'. The symbols <> also do the same.
>
>The $ has 2 usages, one now obscure.
>The still current usage is to test if one string is contained in another string.
>In the code m.IsThis $ m.InHere the "IsThis" string is searched for in the "InHere" string and if it is found then a .T. will be returned. So if m.IsThis contains "Fox" and m.InHere contains "Visual FoxPro" then it will return .T.
>The more obscure use is to represent the 'current position' (either vertical or horizontal) of the cursor in a @SAY... So one could code @$, $+2 SAY "Whatever".
>
>
>># = .NOT. I think however I can't find anything on $.
>>
>>Thanks for your help...
>>
>>Sunshine
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform