Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Filtros
Message
De
24/08/2004 14:49:42
 
 
À
24/08/2004 14:13:57
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Divers
Thread ID:
00935870
Message ID:
00936071
Vues:
31
>Me parece que para una verificación rápida, bastaría con type([expresión del usuario]) # "U".

No. Eso solo mira que el resultado sea "válido". O sea que retorne algo diferente a "U".
Retornar "L" por ejemplo y que sea .T. no dice mucho sobre lo que el usuario entró. Puede ser código malicioso que retorne .T.

Por ello, el debe verificar que la expresión en si sea válida (o al menos tenga algun sentido en su caso particular).


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform