| StepCk | Function (ROM Call 0x1DD)

graphing.h

void StepCk (float *indep);

Verifies that the input min, max, and step values are valid in parametric or polar mode.

StepCk verifies that the input min, max, and step values in the array pointed to by indep are valid values for the independent variable in parametric mode (tmin, tmax, and tstep) or polar mode (θmin, θmax, and θstep). The function will return to the calling routine if the values are valid, otherwise an error is thrown.
indep is a pointer to an array of floating-point values where indep[0] = min, indep[1] = max, and indep[2] = step.
An error is thrown if the input values are not valid for the independent variable in parametric mode or polar mode, such as the step value being negative when it should have been positive for the given min and max.

Uses: CkValidDelta, floor, _bcd_math
Used by: cmd_blddata, cmd_drawparm, cmd_drawpol, deStepCk, Regraph

See also: CkValidDelta, error.h