beautypg.com

Casio CLASSPAD 330 3.04 User Manual

Page 698

background image

20060301

ExpToStr

Syntax: ExpToStr

:,

Function:

Converts the result of an input expression to a string and assigns the string to
the specified variable.

NumToChr

Syntax: NumToChr

:

n

,

Function:

Converts numeric value

n

to the corresponding text character(s) in accordance

with the character code table, and assigns the character(s) as a string to the
specified variable. For information about character codes, see Appendix page
α-6-1.

NumToStr

Syntax: NumToStr

:,

{

"Fix "

}

,

"Sci "

Function: Converts a numeric value to a string of the specified format, and assigns the

resulting string to the specified variable.

Example: NumToStr 1.234, "Fix2",

x

StrCmp

Syntax: StrCmp

: "", "",

Function:

Compares "" and "" (character code comparison) and
assigns the resulting value to the specified variable.

Description
• Returns 0 when "" = "".
• Returns 1 when "" > "".
• Returns –1 when "" < "".

StrInv

Syntax: StrInv

: "",

Function:

Inverts the sequence of a string and assigns the resulting string to a variable.

12-6-42

Program Command Reference