[fpc-pascal] Operator overloading with Text labels or words
noreply at z505.com
Mon Jan 30 08:24:27 CET 2017
It's not possible to define an operator like:
Operator AbcXyz(r : real; z1 : complex) z : complex;
Has to be a symbol?
If one could use words or text as operators this might be very
interesting, although, probably a double edged sword like Lisp where you
could embed programming languages inside programming languages.
x := 4 PLUS 4;
So you just invented Cobol inside fpc or something like cobol. Bad example..
More information about the fpc-pascal