| cmd_style | Function (ROM Call 0x392)

AMS 1.01 or higher | bascmd.h

void cmd_style (CESI EqnNum, CESI StyleString);

Executes TI-Basic 'Style' command.

cmd_style sets the system graphing function determined by EqnNum in the current graph mode to use the graphing property determined by StyleString. EqnNum must point to an integer item in the range from 1 to 99, and the corresponding graph function must already exist. StyleString must point to a string item containing one of the following strings: "LINE", "DOT", "THICK", "ANIMATE", "PATH", "ABOVE", "BELOW", "SQUARE". Note that some settings are not valid in various graph modes. The following table shows valid style names for particular graph modes:

Graph mode | Valid styles
Function | LINE, DOT, THICK, ANIMATE, PATH, ABOVE, BELOW, SQUARE
Parametric/Polar | LINE, DOT, THICK, ANIMATE, PATH, SQUARE
Sequence | LINE, DOT, THICK, SQUARE
3D | none
Diff Equations | LINE, DOT, THICK, ANIMATE, PATH, SQUARE

Uses: estack_to_ushort, gr_active, stricmp, EQU_setStyle