Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TEXT ENDTEXT and code block logic
Message
De
25/06/2007 16:52:03
 
 
À
25/06/2007 14:46:40
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01235422
Message ID:
01235481
Vues:
21
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform