Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Weird behavior with chr(10)
Message
De
17/01/2023 16:57:03
 
 
À
17/01/2023 16:42:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01685827
Message ID:
01685830
Vues:
44
J'aime (1)
>I just retyped the two lines and everything is OK now. But it's still weird.
Maybe you didn't save or recompile as expected the first time.

Another thing to be wary of is single-letter identifiers, especially "a" through "j" inclusive. Those used to be references to the 10 available work areas in dBASE/FoxBASE. I don't remember if that convention was continued/extended to FoxPro/DOS with its 25 work areas.
At one time you could get unexpected behaviour when using single letter variables "a" through "j" if tables were open in those work areas. I don't know if that also occurred with single-letter function names. I've always avoided single-letter variable and function names so I've never encountered any of those (potential) issues.
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