Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Digits only in textbox
Message
De
18/02/2004 13:06:33
 
 
À
18/02/2004 12:19:37
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00877886
Message ID:
00878418
Vues:
21

Wouldn't one, at some point, also include validation through
the Valid() or RangeLow() method for negative values?


yes, multiple checks are good, but for me best is:
- to prevent invalid input values for reduce user input invalid messages
- put check into the fields for check programmatic errors

A Eiffel approach for any value stored is good,
but best of the best
is define a strong variable data type,
valid only into a specific data values domain.

For example a string domain with a regular expression like data domain,
when the program write a value on a string variable,
it validate the value in the domain automatically.

But i think a like to this language need a 100GHz CPU.

Fabio
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform