Variables And Programs - HP 39gII User Manual

Graphing calculator
Hide thumbs Also See for 39gII:
Table of Contents

Advertisement

XOR
NOT (or !)
Variable
commands
Export
Local

Variables and Programs

Programming
Exclusive Or.
Syntax: expr1 XOR expr2
Example: 3+1==2 OR 8 < 5 returns 0.
Logical Negation.
Syntax: NOT(expr1)
Example: NOT(3+1==4) returns 0.
These commands allow you to control the visibility of a
user-defined variable or function.
Export.
Syntax: EXPORT(FunctionName)
Exports the function FunctionName so that it is globally
available and appears in the Program Commands menu
(
) when
S
CMDS
Local.
Syntax: LOCALvar1,var2,...varn;
Makes the variables var1, var2, etc. local to the program
in which they are found.
The HP 39gII has three types of variables: Home
variables, App variables, and User variables. You use the
Variable menu (
a
variables.
Home variables are used for real numbers, complex
numbers, graphics, lists, and matrices among other
things. Home variables keep the same value in Home and
in apps.
App variables are those whose values depend on the
current app. The app variables are used in programming
to represent the definitions and settings you make when
working with apps interactively.
is pressed.
) to retrieve Home, app, or User
277

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents