Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Comments on RETURN (.T.) syntax vice RETURN .T. syntax
Message
De
01/08/2000 10:14:47
 
 
À
01/08/2000 09:30:42
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00399240
Message ID:
00399267
Vues:
12
>I'm copying some code I found. The author uses: "RETURN (.T.)" where I am used to seeing "RETURN .T." Is this an old syntax? Is either version safer to use or are they the same?

Its the same thing, putting paranthesis around expressions just tells you the order to evaluate it, so though its not necessary with one term, it doesn't hurt anything:

?.t.
?(.t.)
?.t. or .f. and .f.
?(.t. or .f.) and .f.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform