Casio ClassPad 300 PLUS User Manual

Page 586

Advertising
background image

20050501

SetFolder

Syntax:

SetFolder

Ⅺ<folder name> [,<storage variable name>]

Function
• Makes the specified folder the current folder. Including a variable name at the end of this

command assigns the name of the previous current folder to the variable as a text string.

• If the specified folder does not exist, this command creates a new folder with the specified

name, and makes it the current folder.

Unlock

Syntax:

Unlock

Ⅺ<variable name>, <variable name> ...

Function:

Unlocks variables.

UnlockFolder

Syntax:

UnlockFolder

Ⅺ<folder name>

Function:

Unlocks the specified folder and all the files currently inside of it.

k Strings

A string is a series of characters inside of quotation marks. In a program, strings are used to
specify display text.
A string made up of numbers (like “123”) or an expression (like “x–1”) cannot be processed
as a calculation.

To include quotation marks (") or a backslash (\) in a string, put a backslash (\) in front of the
quotation marks (") or backslash (\).

Example 1: To include Japan: “Tokyo” in a string

Print

Ⅺ"Japan:\"Tokyo\""

Example 2: To include main\abc in a string

Print

Ⅺ"main\\abc"

ChrToNum

Syntax:

ChrToNum

Ⅺ"<string>", <storage variable name>[,

n

]

Function:

Converts the characters up to the

n

th character of a string to their character

code values and assigns the string to the specified variable.

Description: Omitting “

n

” starts conversion from the first character of the string. For

information about character codes, see Appendix page

α-6-1.

12-6-41

Program Command Reference

Advertising