Respond to an unknown method call: Difference between revisions

m (→‎{{header|Phix}}: syntax coloured)
Line 1,176:
 
=={{header|Pike}}==
{{incorrect|Pike|the <code>-></code> operator responds to all method calls, not just the unknown ones. the example needs to be amended to show how known methods are accessed }}
Pike allows to overload the <code>-></code> operator used to access object members:
<lang Pike>class CatchAll
Anonymous user