Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Iif(lExp, .t., .f.)?
Message
De
22/01/2010 19:33:52
 
 
À
22/01/2010 18:16:16
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01445223
Message ID:
01445589
Vues:
20
>>>Also...
>>>
IF SEEK(PADR(LEFT(slcDDTableOrView,112),112)
>>>...took me a while to see how the line got into this shape.
>>
>>Hey I've looked at stuff like that.
>>
>>. How about blocks of code commented out by wrapping them in an if statement
>>
IF x <> x
>>
>>blah blah
>>
>>ENDIF
>
>In that case, I prefer when it's wrapped in
>
IF .f.
>or even better,
>
#IF .f.
>or even better, summarily commented out.

I think commenting out is not better than using #IF .F.

Actually, using #IF is better, because it will prevent compilation of that piece. One effect will be somewhat higher speed.
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform