Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Quick Question - What is # and $ in Fox 2.6???
Message
From
26/06/2002 14:11:27
 
 
To
26/06/2002 13:03:14
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00672537
Message ID:
00672578
Views:
7
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
Map
View

Click here to load this message in the networking platform