Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TEXT ENDTEXT and code block logic
Message
 
 
À
25/06/2007 16:52:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01235422
Message ID:
01235483
Vues:
16
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
>>
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform