Function in Standard

Define a function by starting a new line with the function name. The function name can be followed by a : if the function will accept arguments. Then follow the function name with an opening bracket {. Enclose code and end with } on a new line.

    
    myFunc {
        print "Hello"
    }

    myFunc #Prints 'Hello'

    sayHello: name {
        print ("Hello ".name."!")
    }

    sayHello: "Kenny" #Prints 'Hello Kenny!'