Article

Techniques

If there is a question asking why x not y, compare and reason.

I.e., it is a function rather than a procedure because a procedure cannot return a value.