cmd_slpline Function (ROM Call 0x38D)

AMS 1.01 or higher bascmd.h

void cmd_slpline (CESI y0, CESI x0, CESI slope);

Executes TI-Basic 'SlpLine' command.

cmd_slpline displays the Graph Screen and draws a line on it as a graph of the equation y-y0=slope*(x-x0), where x and y are the independent and dependent variables, respectively. The parameters x0, y0, and slope should point to integer or floating point items on the expression stack. See the TI-Basic manual for more info.


Uses: ER_catch, ER_success, ER_throwVar, push_expression, push_Float, push_quantum, top_estack, gr_active, OSCheckBreak, is_transfinite, ForceFloat, GraphActivate, GrLineFlt, QSkipGraphErr, XCvtPtoF, YCvtPtoF


See also: cmd_linetan, cmd_line