A function is a group of reusable code that can be called anywhere in your program. This eliminates the need of writing the same code over and over again. This enables the programmers to divide a big program into a number of small and manageable functions.
- Choose Developer → Code → Macros.
- Type the word CubeRoot in the Macro Name box.
- Click the Options button.
- Enter a description of the function in the Description box.
- Click OK to close the Macro Options dialog box.
- Close the Macro dialog box by clicking the Cancel button.