Tracy,
I had never seen it documented in the FP books but had made big use of it in dBase days, tried it in FP and found that it was there too. I was most pleased.
I remember, very recently, reading through some VFP documentation (VFP7) and seeing mention of it, though not in any at all useful place.
>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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only