Define; Define Libpriv - Texas Instruments TI-NSPIRE Reference Manual

Ti ti-nspire: reference guide
Hide thumbs Also See for TI-NSPIRE:
Table of Contents

Advertisement

Define

Var
Expression
Define
=
Function
Param1
Define
(
Defines the variable Var or the user-defined function Function.
Parameters, such as Param1, provide placeholders for passing
arguments to the function. When calling a user-defined function, you
must supply arguments (for example, values or variables) that
correspond to the parameters. When called, the function evaluates
Expression using the supplied arguments.
Var and Function cannot be the name of a system variable or built-in
function or command.
This form of
Note:
Define
&
expression: expression
Function(Param1,Param2).
Function
Param1
Define
(
Block
EndFunc
Program
Param1
Define
(
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
,
,
, and
If
Then
Else
Note for entering the example:
on the handheld, you can enter multi-line definitions by pressing
@
·
instead of
at the end of each line. On the computer
keyboard, hold down
and press
Alt
See also
Note:

Define LibPriv

page 23.
Define LibPriv
Var
Expression
Define LibPriv
=
Function
Define LibPriv
Function
Define LibPriv
Block
EndFunc
Program
Define LibPriv
Block
EndPrgm
Operates the same as
Define
variable, function, or program. Private functions and programs do not
appear in the Catalog.
See also
, page 22, and
Note:
Define
22
Param2
Expression
,
, ...) =
is equivalent to executing the
Param2
,
, ...) = Func
Param2
,
, ...) = Prgm
).
For
In the Calculator application
.
Enter
, page 22, and
Define LibPub
Param1
Param2
Expression
(
,
, ...) =
Param1
Param2
(
,
, ...) = Func
Param1
Param2
(
,
, ...) = Prgm
, except defines a private library
Define LibPub
,
, page 23.
TI-Nspire™ Reference Guide
Catalog >
Catalog >

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ns/clm/1l1/b - nspire math and science handheld graphing calculatorTi-nspire

Table of Contents