Overloaded operators: Difference between revisions

m
(Added Algol 68)
Line 18:
 
=={{header|ALGOL 68}}==
This overrides the standard integer + operator (as in the F# sample) and provides an overloaded TOSTRING operator.
Also, the + operator is overloaded to operate on an INT left-hand operand and a BOOL right-hand operand.
<lang algol68>BEGIN
3,049

edits