Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiple arguments for $ function
Message
De
28/07/2008 13:59:25
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01334620
Message ID:
01334625
Vues:
7
This message has been marked as a message which has helped to the initial question of the thread.
>I would like to use multiple arguments for $ , but it returns error message:
>
>
>IF "DEPÓSITO" .or. "DEPOSITO" .or. "COMPROVANTE" .or. "PAGAMENTO" $ UPPER(emails.assunto ).and. EMPTY(emails.tipo)

You could do it differently, e.g.
IF 'DEPOSITO' $ UPPER(emails.assunto ) or 'COMPROVANTE' $ UPPER(emails.assunto ) or .....

If you have long statements then even better to use DO CASE...
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform