20060301
PrintNatural
Syntax:
PrintNatural
<expression>[,"<string>"]
Function: This command pauses program execution and displays the result of the specified
expression in natural format.
12-6-8
Program Command Reference
Description
• A text string enclosed within quotation marks (" ") or a variable name can be specified for
"<string>".
• Tapping [OK] closes the dialog box and resumes program execution. Tapping [Cancel]
terminates program execution.
k
Program Execution
#
Syntax: # <string variable name>
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
S
Syntax 1:
<expression>
S
<variable name>
"<string>"
Syntax 2:
<expression>
S
<list element>
"<string>"
Syntax 3: <expression>
S
<matrix element>
Function: With this command, the content of the expression on the left is evaluated, and the
result is assigned to the item on the right.
{ }
{ }