beautypg.com

Returns the first element of a list or string – HP 48g Graphing Calculator User Manual

Page 547

Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

background image

HEAD Command:

Returns the first element of a list or string.

Level 1

Level 1

{ o d j i . . .

objn

}

"String"

^ o b J i

- +

"element^"

IFT Command:

is zero.

Executes obj if T/F

is nonzero. Discards obj if T/F

Level 2

Level 1

^ Level 1

T/F

obj

It depends!

IFTE Function:

Executes the obj

Executes the obj on

on level 1 if T/F is

level 2 if T/F is nonzero,

zero.

Level 3 Level 2 Level 1

^ Level 1

obj

t c y e

obj^

a I s e

^

It depends!

INCR Command:

Takes a variable on level 1, adds 1, stores the new

value back into the original variable, and returns the new value to
level 1.

Level 1

-

Level 1

‘name'

-

^ i n c r e m e n t

Stack Diagrams for Selected Commands H-9

This manual is related to the following products: