Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What's # and &?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00142013
Message ID:
00150198
Vues:
30
>>>I'm trying to muddle through someone else's code, and I've come across something I've never seen before:
>>>>
>>>>IF myvar#3
>>>>. . .
>>>>ENDIF
>>>>
>>>>What's the # for? I can't find it in help (other than #DEFINE, etc.).
>>>
>>>"#" tries to symbolize a "=" sign with a slash through it: the "not-equals" symbol. You can use "<>" or "!=" instead.
>>
>>Did I miss someone else adding
>>IF !myvar = 3
>>
>>Just so we could have FOURTH method?

>

>And of course the long antiquated:
>
>NOT myvar = 3
>
>That's 5...is there a 6th? I'll bet Joy never expected this much milage from a simple question ;-)

You crazies. Thanks.

One more thing--the & symbol--I use macro substitution (&) all the time, and am aware of && for commenting, but I'm sure, when I wrote this note, admittedly long ago, that I saw it being used differently--perhaps something like

myvar1&myvar2

Any clue?

JR
CLARC Services, Inc.
3500 Tamiami Trail
Port Charlotte, FL 33952
www.clarc.com
(941) 743-0108
(800) 246-5488
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform