beautypg.com

Command list – Casio ClassPad II fx-CP400 User Manual

Page 199

background image

Chapter 12: Program Application

  199

Chapter 12: Program Application

  199

Symbols

(Carriage Return)

k

Function: Performs a carriage return operation.

Description: In Program Editor, press the E key to
input a carriage return.
• The carriage return can be used in a user program.

It cannot, however, be used in a manual calculation
performed in the Main application.

: (Multi-statement Command)

Ctrl

Function: Use this command to link a series of
statements into a multi-statement (on a single line).

Description: The multi-statement command can
be used in a user program. It cannot, however, be
used in a manual calculation performed in the Main
application.

Ctrl

Syntax 1: { ; ""}

name>

Syntax 2: { ; ""}

element>

Syntax 3:

Function: The content of the expression on the left is
evaluated, and the result is assigned to the item on
the right.

’ (Comment)

Ctrl - Misc

Function: Any text following this symbol is not
executed. You can use this command to include
comment text in your program.

Description: Any line that starts with the comment
symbol (’) is treated as comment text, which is
skipped during program execution.

" (quotation mark)

Ctrl - Misc

Function: Any text inside of quotation marks is treated
as a string.

=

Ctrl - Logic

Syntax: =

Function: Returns true when and
are equal, and returns false when
they are not.

Ctrl - Logic

Syntax:

Function: Returns true when and
are not equal, and returns false when
they are.

<

Ctrl - Logic

Syntax: <

Function: Returns true when
is less than , and returns false
when is equal to or greater than
.

>

Ctrl - Logic

Syntax: >

Function: Returns true when is
greater than , and returns false when
is equal to or less than 2>.

s

Ctrl - Logic

Syntax:

s

Function: Returns true when is less
than or equal to , and returns false
when is greater than .

t

Ctrl - Logic

Syntax:

t

Function: Returns true when is
greater than or equal to , and returns
false when is less than 2>.

#

Misc - String(2)

Syntax: #

Function: This command specifies a string variable
whose string is a variable name.

Example 1: When the content of variable exp1 is

π

and the content of variable str1 is “exp1”, sin(#str1)
calculates sin(

π).

Example 2: To cause a folder to be created during
program execution:

InputStr

Ⅺname, "Foldername" : NewFolderⅪ#name

A

abExpReg (abExpR)

Misc - Statistics(1) - Regression

Syntax: abExpReg

x

List,

y

List[,[FreqList (or 1)]

[, [<

yn

>] [,{On ; Off}]]]

Function: Performs

y

=

a

·

b

x

regression.

Description: See SinReg.

and

Ctrl - Logic

See “Bitwise Operations” (page 58).

B

BinomialPD

k

Syntax: BinomialPD

x

value, Numtrial value,

pos

value

Function: See “Binomial Distribution Probability”
(page 146).

Command List