Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using == vs =
Message
From
16/11/2015 15:05:40
 
 
To
16/11/2015 14:03:37
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
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:
01627523
Views:
53
>>>"We are number zero!!!"
>>>I've never seen that, have you?
>
>Aren't you a NET dude: what's the first element in a VB.NET or C# array?
>

C# is zero-based, as is most of the cyber world.
However..
string str = "This is another substring test";
  retString = str.Substring(8, 1);
will return "a"
That makes no sense to me but I program accordingly.
The great Scottish empiricist, David Hume, when asked why he did things that worked practically- but couldn't be logically proven= said:
"It pains me too much to do otherwise."








>Sorry, couldn't resist. All of these things are man-made and like any other rule or law devised by hopefully clever people, we just have to live with it. ;-)
>
>Meanwhile be thankful you're not enjoying the wonderful byzantine pleasures of C++ strings that are arrays. ;-)
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform