20060301
InputFunc
Syntax:
InputFunc
:
<user-defined function name> (<argument>[,<argument>…])
[,"<string 1>"[,"<string 2>"]]
Function:
When program execution reaches the
InputFunc
command, the user is prompted
to input the contents of the user-defined function.
Example:
InputFunc v(v0, t), "To define function v0(m/s), t(sec)", "define function"
De
s
cription
• If you do not specify anything for "<string 1>", the prompt “<variable name>?” appears by
default.
• The text specified for "<string 2>" is used as the input dialog box title.
• The
InputFunc
command pauses program execution and displays a dialog box that
contains the text string indicated by "<string 1>" and an input box. The dialog box that
appears is identical to the
Input
command dialog box. A text string enclosed within
quotation marks (" ") or a variable name can be specified for "<string 1>".
• Specifying a very long display text string can cause part of it to be cut off when it is
displayed in the dialog box.
• When the dialog box appears, input an expression into the input box and then tap [OK].
This closes the dialog box, assigns the input expression to the applicable variable and
resumes program execution.
• Tapping [Cancel] on the dialog box terminates program execution.
InputStr
Syntax:
InputStr
:
<variable name>[,"<string 1>"[,"<string 2>"]]
Function:
When program execution reaches the
InputStr
command, the user is prompted
for input of a string, which is assigned to a variable.
De
s
cription
• The
InputStr
command pauses program execution and displays a dialog box that contains
the text string indicated by "<string 1>" and an input box. The dialog box that appears is
identical to the
Input
command dialog box. A text string enclosed within quotation marks
(" ") or a variable name can be specified for "<string 1>".
• Specifying a long display text string can cause part of it to be cut off when it is displayed in
the dialog box.
• When the dialog box appears, input a string into the input box and then tap [OK]. This
closes the dialog box, assigns the input string to the applicable variable and resumes
program execution.
• Tapping [Cancel] on the dialog box terminates program execution.
• The text specified for "<string 2>" is used as the input dialog box title.
• If you do not specify anything for "<string 1>", the prompt “<variable name>?” appears by
default.
12-6-5
Program Command Reference
Summary of Contents for ClassPad 330
Page 11: ...20060301 20090601 ClassPad 330 ClassPad OS Version 3 04 ...
Page 277: ...20060301 3 3 10 Storing Functions 3 Tap AND Plot OR Plot ...
Page 779: ...20090601 S Graph Line Clustered C S Graph Line Stacked E 13 9 2 Graphing ...
Page 780: ...20090601 S Graph Line 100 Stacked F S Graph Column Clustered G 13 9 3 Graphing ...
Page 781: ...20090601 S Graph Column Stacked I S Graph Column 100 Stacked J 13 9 4 Graphing ...
Page 782: ...20090601 S Graph Bar Clustered K S Graph Bar Stacked 9 13 9 5 Graphing ...