Casio ClassPad II fx-CP400 User Manual
Page 215

Chapter 12: Program Application
215
Chapter 12: Program Application
215
StrLwr
Misc - String(2)
Syntax: StrLwr
Ⅺ"
Function: Converts all the characters of a string to
lower case and assigns the resulting string to the
specified variable.
StrMid
Misc - String(2)
Syntax: StrMid
Ⅺ"
n
, name> [, Function: Copies a specific number of characters of a n th character, and assigns the resulting string to the specified variable. Description: Omitting the number of characters StrRight Misc - String(2) Syntax: StrRight Ⅺ" n , name> Function: Copies a string up to the n th character from the right, and assigns the resulting string to the StrRotate Misc - String(2) Syntax: StrRotate Ⅺ" name> [, n ] Function: Rotates the left side part and right side n th character, and assigns the resulting string to the specified variable. Description: Rotation is to the left when “ n ” is positive, and to the right when “ n ” is negative. Omitting “ n ” uses a default value of +1. StrShift Misc - String(2) Syntax: StrShift Ⅺ" [, n ] Function: Shifts a string left or right n characters, and assigns the resulting string to the specified variable. Description: Shift is to the left when “ n ” is positive, and to the right when “ n ” is negative. Omitting “ n ” uses a default value of +1. StrSrc Misc - String(2) Syntax: StrSrc Ⅺ" variable name> [, Function: Searches " n th character from beginning of string) to determine if it contains the data specified Description: Omitting the start point causes the strToExp( Misc - String(2) Syntax: strToExp(" Function: Converts a string to an expression, and StrUpr Misc - String(2) Syntax: StrUpr Ⅺ" Function: Converts all the characters of a string to Switch~Case~Default~SwitchEnd Ctrl - Switch Syntax: Ⅺ [ Ⅺ [ Ⅺ n > : [ n > should be expressions that produce real numbers. Function: Executes one of a series of processes Description: the Case expression that matches the Switch • If there is no matching Case expression, the statement following Default is executed. If there • You can use a multi-statement command (:) in place of the carriage return to separate statements. • Switch~SwitchEnd can be exited using the Break command, Return command, or Goto command. SwitchEnd Ctrl - Switch See Switch~Case~Default~SwitchEnd. T TableInput Misc - Setup(3) Function: Used as a SetTVariable command TangentLine I/O - Sketch Syntax: TangentLine Ⅺ < x -coordinate> [, Function: Draws a line tangent to the graph at the x -value. TCD k Syntax: TCD ⅪLower value, Upper value, df value Function: See “Student’s t Cumulative Distribution” (page 145). Text I/O - Sketch Syntax: Text Ⅺ value>, { Function: Displays the specified text on the Graph Then Ctrl - If See If~Then~ElseIf~Else~IfEnd.
string, starting from the
causes the string to be copied up to the end.
specified variable.
part of a string at the
specified point (
by "
returns the location of the first character of "
search to start from the beginning of "
executes the expression.
upper case and assigns the resulting string to the
specified variable.
Switch
SwitchEnd
•
based on the value of
• This command executes the statement following
expression.
is no Default specified, a non-match jumps to the
statement following SwitchEnd.
argument to specify an option. See SetTVariable.
specified
[,
window.