Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Yoda coding styles
Message
De
25/04/2006 10:26:00
 
 
À
23/04/2006 16:19:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01115355
Message ID:
01116369
Vues:
21
* This
>
>m.lcSomeVariable = "SomeLongStringOrFunction1" ;
>  + "SomeLongStringOrFunction2" ;
>  + "SomeLongStringOrFunction3" ...
>
>* is preferable to
>
>m.lcSomeVariable = "SomeLongStringOrFunction1" + ;
>  "SomeLongStringOrFunction2" + ;
>  "SomeLongStringOrFunction3" ...
Personally, I prefer the latter, so that when I get to the end of the line, I know it continues on the next line, rather than being the end of the command. I do the same thing with AND and OR.

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

Click here to load this message in the networking platform