Procedures

Procedures #

Declaring a Procedure #

Calling a Procedure #

Result Variable #

Forward Declaration #

Procedure Overloading #

Anonymous Procedures #

Using Methods Instead #

If you use a method keyword instead of a proc keyword, it will not lock the function call at compile time.

This is called dynamic dispatch and is only when you don’t know which object type is being handled at compile time.