Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 17511, Adding new operators and operator overloading

by Mohammad Elahi Email: elahimohammad@hotmail.com


Only operator overloading is not enough it is better to have ability to define new operators.
Download Details
FTP  download also available 0 bytes
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 6.0  to 6.0 10 downloads
Copyright: No significant restrictions


Size: 0 bytes
Updated on Tue, 05 Feb 2002 23:40:25 GMT
Originally uploaded on Tue, 05 Feb 2002 23:44:19 GMT
Description
Hi
Only operator overloading is not enough it is better to have ability to define new operators.
A new directive like "operator" to change the procedures and functions to a operator or a keyword instead of procedure.
-------------------------------------------------
//declare:
function TX.Not(Right: TX): TX; operator;
...
//use:
var Test: TX;
begin
Test := Not TX;
end;
-------------------------------------------------
Thanks for your time

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC04