Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FOR ... ENDFOR loop
Message
 
 
À
04/09/2001 18:35:40
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00552168
Message ID:
00552287
Vues:
10
>>>See the changes in the code. What exactly you're doing here? Can you give more info, please?
>>
>>What I am trying to do is to see if the letters "TOF" are in one of these five fields. That's all. Let me try your suggestions, and thanks Nadya.
>
>In that case (unless you need to know which field contains these letters), the simpler way would be to check
>
>
"TOF" $ note1+'*'+note2+'*'+note3+'*'+note4+'*'+note5+'*'
>
>I've added the asterisks in between so you wouldn't get a .t. if note2='START' and note3='OFTEN'.

Nice tip! I was trying to think about one line solution, but haven't come to this one.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform