Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using == vs =
Message
De
14/11/2015 07:40:01
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
14/11/2015 06:20:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01627149
Message ID:
01627424
Vues:
56
>That's interesting logic, Fabio and it probably is what the people who wrote the language had in mind.
>However when someone asks "What does 'ABC' begin with?", I will continue to answer "A", not "nothing."

How about zero-based arrays? To the question "with which element does the array begin" you'd have to say "zeroeth", IOW, the nothingth.

The "begins with" is actually not quite right. The definition is "are equal to the length of the right one". If the length of the right one is zero, well, their first zero characters ARE equal, so it returns .t. as per definition.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform