Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using == vs =
Message
From
14/11/2015 07:40:01
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
14/11/2015 06:20:13
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01627149
Message ID:
01627424
Views:
58
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform