Blitz Command Overloading

Blitz3D Forums/Blitz3D Programming/Blitz Command Overloading

Techlord(Posted 2004) [#1]
This is a neat little feature.
Function Print(Text$,Text2$="")
	Write(Text + Chr(32) + Text2 + Chr(32) + "I'm overloaded")
End Function

Print("Hello","World")



Floyd(Posted 2004) [#2]
I would call that overriding, not overloading.

The original Print is now inaccessible.


Techlord(Posted 2004) [#3]
True