Chapter 16: Programming
293
GetCalc(
variable
[,
portflag
]
)
By default, the TI-84 Plus uses the USB port if it is connected. If the USB cable is not connected, it
uses the I/O port. If you want to specify either the USB or I/O port, use the following portflag
numbers:
portflag
=0 use USB port if connected;
portflag
=1 use USB port;
portflag
=2 use I/O port
Note:
GetCalc(
does not work between TI
.
82 and TI-83 Plus or a TI
.
82 and TI-84 Plus calculators.
Get(, Send(
Get(
gets data
from the CBL 2™ or CBR™ and stores it to
variable
on the receiving TI-84 Plus.
variable
can be a real number, list element, list name, matrix element, matrix name, string,
Y= variable, graph database, or picture.
Get(
variable
)
Note:
If you transfer a program that references the
Get(
command to the TI-84 Plus from a TI
.
82,
the TI-84 Plus will interpret it as the
Get(
described above. Use
GetCalc(
to get data from another
TI-84 Plus.
Send(
sends the contents of
variable
to the CBL 2™ or CBR™. You cannot use it to send to another
TI-84 Plus.
variable
can be a real number, list element, list name, matrix element, matrix name,
string, Y= variable, graph database, or picture.
variable
can be a list of elements.
Send(
variable
)
Note:
This program gets sound data and time in
seconds from CBL 2™.
Note:
You can access
Get(
,
Send(
, and
GetCalc(
from the CATALOG to execute them from the
home screen (Chapter 15).
Calling Other Programs as Subroutines
Calling a Program from Another Program
On the TI-84 Plus, any stored program can be called from another program as a subroutine. Enter
the name of the program to use as a subroutine on a line by itself.
You can enter a program name on a command line in either of two ways.
•
Press
|
to display the
PRGM EXEC
menu and select the name of the program
prgm
name
is pasted to the current cursor location on a command line.