Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Overload operators??
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00615854
Message ID:
00616189
Vues:
31
>>So, would it be correct to say that "FoxPro supports overloading operators"
>
>This would be incorrect. The support would have to come in the language itself by providing a means by which you define new datatypes that you could overload, which it does not in FoxPro. Someone mentioned that VFP8 would support method overloading. Maybe someone here knows if that is true?
>
>>or would it be correct to say that "FoxPro overloads operators by default"?
>
>I think this is correct, if I understand you. VFP is written in C++, which supports operator overloading. So when the Fox Team wrote the VFP language, they overloaded the +,-,/, etc. operators in a way that you have no control over.
>
>Does the book you are reading say that C# supports operator overloading?
>
>-Dave

Yes C# support overload.

You just have to search "operator overloading" in the VS .NET help :-)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform