Appendix A: System Routines — Graphing
591
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
CptIndep
Declaration:
BYTE
CptIndep
(BCD16 *
min
, BCD16 *
newindep
, USHORT
inc
)
Category(ies):
Graphing
Description:
Compute the independent graph variable value as a floating-point value
based on a set of range values and an integer increment (0 being the first
increment, 1 the next, and so on).
Inputs:
min
— Pointer to an array of BCD16 floating-point values defining
the min, max, and step size of the independent variable:
min[0] = min, min[1] = max, min[2] = step.
newindep
— Pointer to the output independent variable.
inc
— Current iteration.
Outputs:
Returns 1 if the value pointed to by
newindep
was set to the next
independent variable or 0 if the next value was out of range.
Assumptions:
None
Side Effects:
None
Availability:
On AMS 1.05 and higher.
TI-89 / TI-92 Plus
Differences:
None
See Also: CptFuncX
(continued)