Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
#define
Message
De
18/04/2018 14:52:03
 
 
À
18/04/2018 07:10:48
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:
01659526
Vues:
46
>>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....

I was going to ask about that - whether other languages in general have 3 string delimiters to help handle the complex/edge cases. If they don't it must be a bit of a pain...
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform