Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Comments on RETURN (.T.) syntax vice RETURN .T. syntax
Message
From
01/08/2000 10:14:47
 
 
To
01/08/2000 09:30:42
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00399240
Message ID:
00399267
Views:
23
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform