Oops, my fault, the documentation is correct here. On Win32, the code works when I change "class" to "record":
OverloadOps = record
So operator overloading only supported for records in Win32 until the next version.
I'm using Delphi Win32. The documentation states:
Delphi for .NET and Delphi for Win32 allow certain functions, or "operators" to be overloaded within record declarations. Delphi for .NET also allows overloading within class declarations.
So regarding Win32 Delphi, is any operator overloading...
I'm trying to get a basic operator overloading example working from here:
http://www.aspfree.com/c/a/.NET/The-Delphi-Language-Part-2/10/
But the compiler complains about using the operator keyword in this line of the class definition:
class operator Add(a, b: OverloadsOps): OverloadsOps;
error...
I'm trying to get a very basic horizontal Tee Chart working, but the Left Axis and label for the horizontal bars are the same.
http://s320.photobucket.com/albums/nn354/jagrroad/?action=view¤t=teechart-bug-1.png
I want the horizontal bar labels to either be hidden or display a numeric...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.