Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
#define
Message
From
18/04/2018 07:10:48
 
 
To
18/04/2018 03:52:26
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01659466
Message ID:
01659505
Views:
54
>And the only reason they are recognized in brackets is because brackets can also be used as parentheses for array indexes, where constants need to be recognized... so it accidentally catches them within bracketed string literals, but not otherwise. That's a syntactical hiccup which can be a solution or cause of a problem, depending on what you do :).

As most other laguages only have 2 string delimiters, I tend to see this hiccup more as a solution than as a wart... Standardize on the typical ones, reserve brackets for cases they are a solution or are used with brain running on more than the low idle normal string handling only needs....
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform