function

Named blocks that encapsulate a sequence of statements. Generally, you use a procedure to perform an action, and a function to compute a value.