Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Iif(lExp, .t., .f.)?
Message
From
22/01/2010 19:33:52
 
 
To
22/01/2010 18:16:16
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01445223
Message ID:
01445589
Views:
21
>>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform