SUM on user-defined type
Posted: Mon Feb 29, 2016 8:03 am
Hi!
I'm just trying to get SUM(PARTS, WEIGHT) working with WEIGHT being "TYPE WEIGHT POSSREP {WEIGHT RATIONAL};"
I end up with
ERROR: RS0055: Could not find operator SUM(RELATION {PID P#, NAME NAME, COLOR COLOR, WEIGHT WEIGHT, CITY CHARACTER, %attributeName5 WEIGHT}, INTEGER)
I've tried defining OP_PLUS, but without much more success.
Any hint?
Thanks a lot,
Bernard
I'm just trying to get SUM(PARTS, WEIGHT) working with WEIGHT being "TYPE WEIGHT POSSREP {WEIGHT RATIONAL};"
I end up with
ERROR: RS0055: Could not find operator SUM(RELATION {PID P#, NAME NAME, COLOR COLOR, WEIGHT WEIGHT, CITY CHARACTER, %attributeName5 WEIGHT}, INTEGER)
I've tried defining OP_PLUS, but without much more success.
Any hint?
Thanks a lot,
Bernard