Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Proper File Order
Message
 
 
To
23/10/2002 10:29:52
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00714342
Message ID:
00714369
Views:
27
>Mark,
>
>Thanks for the help. But I have a question, why and when do I use [] instead of () in any given situation?

[literal] or 'literal' or "literal"

Brackets can be used to delimit a literal as wall as single and double quotes. Parens can indicate functions and to denote the use of a variable's value. Brackets can also bu used for array elements like laFile[1,2]. I just like to use different variations in my code samples as a subtle reminder that there are many ways to use brackets, parens, quotes and double quotes.
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform