Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Yoda coding styles
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01115355
Message ID:
01116538
Vues:
25
Now that's splitting hairs, but I'd say this is preferable:
m.lcSomeVariable = "SomeLongStringOrFunction1" +;
                   "SomeLongStringOrFunction2" +;
                   "SomeLongStringOrFunction3"
but there are much bigger "sins" to debate . . .


>I think one should keep an open mind. For example, in a recent message to me Fabio Lunardon used the following:
SELECT cFromIP ;
>	,	cPortProt ;
>	,	cToPDom ;
>	,	cToFDom ;
>	,	COUNT(*) counts ;
>INTO CURSOR GpTest1 ;
>		FROM Logs1;
>		GROUP BY 1,2,3,4
I don't know if Fabio purposely wanted tabs expanded out to 8 characters but that's not what's interesting here. I'd never before considered putting the comma for a list extension at the START of a new line, but it's thematic in the same way as:
* This
>
>m.lcSomeVariable = "SomeLongStringOrFunction1" ;
>  + "SomeLongStringOrFunction2" ;
>  + "SomeLongStringOrFunction3" ...
>
>* is preferable to
>
>m.lcSomeVariable = "SomeLongStringOrFunction1" + ;
>  "SomeLongStringOrFunction2" + ;
>  "SomeLongStringOrFunction3" ...
eCost.com continues to rip people off
Check their rating at ResellerRatings.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform