Command: |
Get( |
||||||
---|---|---|---|---|---|---|---|
Command Syntax: |
CE Calculators: Get(variable)
TI-Nspire™ CX platform: Get [promptString,] var[, statusVar] Get [promptString,] func(arg1, ...argn) [, statusVar] |
||||||
Range |
|
||||||
Describe: |
|
||||||
Result: |
Programming command: Retrieves a value from a connected TI-Innovator™ Hub and assigns the value to variable var. The value must be requested:
— or —
Implicit simplification takes place. For example, a received string of "123" is interpreted as a numeric value.
The information below applies only on the TI-Nspire CX platform: To preserve the string, use GetStr instead of Get. If you include the optional argument statusVar, it is assigned a value based on the success of the operation. A value of zero means that no data was received. In the second syntax, the func() argument allows a program to store the received string as a function definition. This syntax operates as if the program executed the command:
The program can then use the defined function func(). Note: You can use the Get command within a user-defined program but not within a function. |
||||||
Type or |
All input devices. |