A function is a named block of code you can use over and over. You give it an input, and it does the job. Notice that a function must close with '}.' at the end.
Function sayHello(Sentence name) {Displaynl("Hello there, " + name + "!").}.// Using the functionsayHello("Tom").sayHello("Jerry").
Some functions do not do actions. They find answers and give them back to you using Return. You have to tell it what kind of box it Returns.
Function getDouble(Number a) {Return a * 2.} Returns Number.Number answer = getDouble(5).Displaynl(answer).