beautypg.com

Integer – HP Prime Graphing Calculator User Manual

Page 553

background image

Programming in HP PPL

547

You can also launch views that are not specific to an app
by specifying a value for n that is less than 0:

Home Screen:-1
Home Settings:-2
Memory Manager:-3
Applications Library:-4
Matrix Catalog:-5
List Catalog:-6
Program Catalog:-7
Notes Catalog:-8

VIEW

Syntax: VIEW ("string"[,program_name])

BEGIN
Commands;
END;

Adds a custom option to the View menu. When string

is selected, runs program_name. See “The

DiceSimulation program” on page 524.

Integer

BITAND

Syntax: BITAND(int1, int2, … intn)
Returns the bitwise logical AND of the specified integers.
Example: BITAND(20,13) returns 4.

BITNOT

Syntax: BITNOT(int)
Returns the bitwise logical NOT of the specified integer.
Example: BITNOT(47) returns 549755813840.

BITOR

Syntax: BITOR(int1, int2, … intn)
Returns the bitwise logical OR of the specified integers.
Example: BITOR(9,26) returns 27.