Application Guide

Define
Catalog >
Var and Function cannot be the name of a
system variable or built-in function or
command.
Note: This form of Define is equivalent to
executing the expression: expression
Function(Param1,Param2).
Define Function(Param1, Param2, ...) =
Func
Block
EndFunc
Define Program(Param1, Param2, ...) =
Prgm
Block
EndPrgm
In this form, the user-defined function or
program can execute a block of multiple
statements.
Block can be either a single statement or a
series of statements on separate lines.
Block also can include expressions and
instructions (such as If, Then, Else, and For).
Note for entering the example: For
instructions on entering multi-line program
and function definitions, refer to the
Calculator section of your product
guidebook.
Note: See also Define LibPriv, page 47, and
Define LibPub, page 48.
Define LibPriv
Catalog >
Define LibPriv Var = Expression
Define LibPriv Function(Param1, Param2,
...) = Expression
Define LibPriv Function(Param1, Param2,
...) = Func
Block
EndFunc
Define LibPriv Program(Param1, Param2,
Alphabetical Listing 47