AN1006 - Creating Functions in SHIP