Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Validing Keystrokes in an Input field
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00317341
Message ID:
00317856
Vues:
17
>>>One nice thing about going this route, rather than using INLIST() is that it's more flexible for future changes (IMO).
>>
>>I tend to stick with INLIST() instead of '$' when possible, as I have to make my code as "legacy-proof" as possible, so that people with little vfp knowledge might be able to make minor changes - and INLIST I think is more explanatory than '$' for a newbie...and of course it's optimizable (though not in this case, of course, but often is). But I agree it's less typing.
>
>So why don't you use AT(). It does the same thing as $, and not as much typing as INLIST().

Similar reason to '$'. If you're a newbie, what does AT mean? It's non-descriptive...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform