Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
#define
Message
De
18/04/2018 07:10:48
 
 
À
18/04/2018 03:52:26
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
Visual FoxPro
Divers
Thread ID:
01659466
Message ID:
01659505
Vues:
55
>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....
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform