12-5-3

User-defined Functions

Tip

You can include up to 99 arguments in a function.

If you do not specify a folder, the function is stored in the current folder.

A function defined using the Define command can contain only a single expression. You cannot link multiple expressions or commands using colons (:) or carriage returns.

Executing a User-defined FunctionThe following is the syntax for executing a user-defined function.<function name> ([<argument>[,<argument>...]])

The following shows an example of how to perform a manual calculation in the Main application.

Example: The following is a function created under “Creating a New User-defined Function” on page 12-5-1.

f4 (x) = x ⋅ (x + 1) ⋅ (x – 2)

Tip

You can use the following steps to recall user-defined functions stored in the “library” folder using the catalog (cat) keyboard. For more information about the “library” folder, see “1-7 Variables and Folders”.

1.Press k.

2.Tap the ((catalog) tab.

3.On the catalog (cat) keyboard, tap the [Form] down arrow button, and then select [USER].

4.Scroll the list of functions until the function you want is visible, and then tap the function name you want.

5.Tap [INPUT].

20060301