Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TEXT ENDTEXT and code block logic
Message
De
25/06/2007 17:05:27
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01235422
Message ID:
01235488
Vues:
15
Definitely. :o)


>How about
>#IF .f.
>  * Comment block
>#ENDIF
>
>This problably would be better for comments.
>
>>I didn't notice anyone else mentioned the opposite, so I will. Anything enclosed in:
>>
>>IF .F.
>>ENDIF
>>
>>will never run and anything enclosed in:
>>
>>IF .T.
>>ENDIF
>>
>>will always run.
>>
>>
>>>This is at the top of a PRG. Anyone know what it is doing? I can't find references to TEXT ENDTEXT, and I think that the block would never be run with the IF .F. statement, but I'm not sure. Any clarity appreciated. Thanks!
>>>
>>>
>>>IF .F.
>>>   TEXT
>>>      Blah, blah, blah...
>>>   ENDTEXT
>>>ENDIF
>>>
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform