Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using == vs =
Message
De
16/11/2015 15:05:40
 
 
À
16/11/2015 14:03:37
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
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:
01627523
Vues:
52
>>>"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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform