Functions Describes user defined functions. Understanding functionsThis is an introduction to functions.FUNCTION definitionsA FUNCTION definition defines a named procedure with a set of statements.Scope of a functionA functions can be isolated to control its visibility to other modules.Local symbol definitionSymbols defined inside a function body are only visible to the function.Calling functionsFunctions can be invoked, to execute the code they define.Function parametersFunctions can take parameters, to specialize their behavior. Returning valuesA function can return values with the RETURN instruction.Function attributesFunction attributes can be used to add definition information about the function, its parameters and its return values.Function referencesFunction can be referenced and invoked dynamically in a CALL instruction, or in an expression.FUNCTION func-specThe FUNCTION keyword provides the reference to the specified function.MethodsA function declared with a receiver type defines a method for this type.ExamplesFunction definition examples.