12-6-41

Program Command Reference

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.

kStrings

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 nth 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.

20021201