bit1

bit2

bit1 OR bit2

0

0

0

 

 

 

0

1

1

 

 

 

1

0

1

 

 

 

1

1

1

• An argument that is a string is treated as a sequence of bits, using 8 bits per character (that is, using the binary version of the character code). The two string arguments must be the same

 

length.

 

 

When the arguments are real numbers or symbolics, OR simply does a true/false test. The result

 

is 1 (true) if either or both arguments are nonzero; it is 0 (false) if both arguments are zero. This

 

test is usually done to compare two test results.

 

If either or both of the arguments are algebraic objects, then the result is an algebraic of the form

 

symb1 OR symb2. Execute →NUM (or set flag –3 before executing OR) to produce a numeric

 

result from the algebraic result.

 

Access:

ÃLLOGIC OR

(Ãis the right-shift of the 3key).

 

TEST LOR

( °is the left-shift of the Nkey).

Flags:

Numerical Results (–3), Binary Integer Wordsize (–5 through –10)

Input/Output:

 

 

Level 2/Argument 1

Level 1/Argument 2

 

Level 1/Item 1

 

 

 

 

 

 

 

 

#n1

#n2

#n3

 

 

“string1

“string2

“string3

 

 

T/F1

T/F2

0/1

 

 

T/F

'symb'

'T/F OR symb'

 

 

'symb'

T/F

'symb OR T/F'

 

 

'symb1'

'symb2'

'symb1 OR symb2'

 

AND, NOT,

 

 

 

 

See also:

XOR

 

 

 

 

 

 

 

 

 

ORDER

Command

 

 

 

Type:

 

 

 

Description:

Order Variables Command: Reorders the variables in the current directory (shown in the VAR

 

menu) to the order specified.

 

 

 

 

The names that appear first in the list will be the first to appear in the VAR menu. Variables not

 

specified in the list are placed after the reordered variables.

 

 

If the list includes the name of a large subdirectory, there may be insufficient memory to execute

 

ORDER.

 

 

 

Access:

MEMORY DIRECTORY LORDER ( °is the left-shift of the Nkey).

Input/Output:

 

 

 

 

 

 

 

 

 

 

 

 

Level 1/Argument 1

 

Level 1/Item 1

 

 

 

 

 

 

 

{ global1 ... globaln }

 

See also:

VARS

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OVER

RPL command

 

 

 

Type:

 

 

 

Description:

Over Command: Returns a copy to stack level 1 of the object in level 2.

Full Command and Function Reference 3-161