Main Content

Functions

Programs that accept inputs and return outputs

Both scripts and functions allow you to reuse sequences of commands by storing them in program files. Functions provide more flexibility, primarily because you can pass input values and return output values. In addition, functions avoid storing temporary variables in the base workspace and can run faster than scripts. For more information, see Create Functions in Files.

Categories