Frank Heckenbach wrote:
Peter N Lewis wrote:
Also, I noticed that := cannot be overloaded as an operator. This would also be a handy addition, although quite possibly it'd have to be a special case.
I don't think so. In Pascal (unlike C), `:=' is not an operator.
[snip]
I once thought of something like "type cast operators" (as in C++), though I haven't thought about any details (syntax, how to implement it, probably not exactly easy) ...
In a recent look at some PASCAL-XSC documentation, I noticed PASCAL-XSC provides support for both of these. I also noticed that type conversion/casting operators in conjunction with operator overloading is a bucket of worms in PASCAL-XSC just like it is in C++.
I'm just commenting on what PASCAL-XSC provides. Whether or not GPC should provide PASCAL-XSC compatibility support for those feature is a whole different subject.
Gale Paeper gpaeper@empirenet.com