Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changes codes into one line
Message
De
21/07/2008 09:14:23
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Database:
Visual FoxPro
Divers
Thread ID:
01332701
Message ID:
01332761
Vues:
8
>Hi all, these can be write in one line. thanks
>
>
>IF EMPTY(tmonth)
>=MESSAGEBOX(' Month is empty')
>thisform.month.setfocus
>RETURN 0
>
>***********
>
>iF EMPTY(tmonth),=MESSAGEBOX(' Month is empty') thisform.month.setfocus RETURN 0
>
>
>ENDIF
Even if you can put it all in one line, you shouldn't. It's bad design and makes it harder to maintin your code.

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

Click here to load this message in the networking platform