Or And Casio fx-5800P Cls, And, Not, Locate, A Logical Operator Commands, Syntax, Syntax, matrix, (COMP), Syntax, (COMP), Syntax, (COMP), Syntax, Example, Example, Example
Cls

Syntax

... : Cls : ...

Function

Clears all expressions and calculation results from the display.

 

 

Locate

 

 

 

Syntax

Locate <column number> , <row number> , <value>

 

Locate <column number> , <row number> , <expression>

 

Locate <column number> , <row number> , "<character string>"

 

(1 < row number < 4, 1 < column number < 16)

Function

Displays the specified value or character string at the specified screen

 

location.

 

• Screen location is specified as (<column number>, <line number>), with

 

the location of the upper left corner being (1, 1) and the lower right corner

 

(16, 4). An error (Argument ERROR) occurs if you specify a location that is

 

outside of the range defined above.

 

• Specifying <expression> will cause the result of the expression to appear

 

at the specified location. If the expression is a variable, the value assigned

 

to the variable will appear. Note that an error (Math ERROR or Syntax

 

ERROR) will occur if the calculation result is a complex number, list, or

 

matrix.

Example

Locate 5 , 2 , "CASIO fx"
A Logical Operator Commands

 

 

And

(COMP)

 

 

Syntax

<expression> And <expression>

Function

Evaluates the expressions (equality or inequality) on either side and returns

 

true or false based on their logical product.

Example

? A : ? B : If A = 2 And B > 0 : Then A ÷ B : Else B : IfEnd

 

 

Or

(COMP)

 

 

Syntax

<expression> Or <expression>

Function

Evaluates the expressions (equality or inequality) on either side and returns

 

true or false based on their logical sum.

Example

While A < 10 Or B < 5 : A + B ^ A + 1 A : B + 1 B : WhileEnd

 

 

Not

(COMP)

 

 

Syntax

Not <expression>

Function

Evaluates the expression (equality or inequality) immediately following and

 

returns its negation.

Example

Do : ? A : A × 2 B : B ^ LpWhile Not B < 10

E-120