| cmd_blddata | Function (ROM Call 0x32B)

AMS 1.01 or higher | bascmd.h

void cmd_blddata (ESI SymName);

Executes TI-Basic 'BldData' command.

cmd_blddata creates a TI-Basic data variable based on the information used to plot the current graph. It is valid in all graphing modes. See the TI-Basic BldData command in the TI-Basic manual for more details.
SymName should point to the variable tag of the wanted data variable name, which may be a string of type SYM_STR. However, it must be on the expression stack, so you cannot pass a result of the SYMSTR macro to cmd_blddata. Instead, if you want to create the data variable named "foo", for example, you should do:

    push_expression (SYMSTR ("foo"));
    cmd_blddata (top_estack);

Alternatively, SymName may point to END_TAG. In this case, the system variable "sysData" is used.

Uses: cmd_newdata, HeapAllocThrow, HeapFreeIndir, HeapLock, HeapRealloc, ER_catch, ER_success, ER_throwVar, HToESI, next_expression_index, push_expression, push_Float, push_quantum, push_quantum_pair, top_estack, CptDeltax, gr_active, gr_flags, StepCk, memcpy, memmove, fabs, is_transfinite, round12_err, sqrt, cleanup_de_mem, cleanup_seq_mem, CountGrFunc, cpt_gr_fun, cpt_gr_param, cpt_gr_polar, CptIndep, CptLastIndepDE, de_loop, deStepCk, estack_to_float, FindFunc, FindGrFunc, FirstSeqPlot, gr_CptIndepInc, gr_del_locals, gr_del_vars_in_folder, gr_find_de_result, gr_find_el, gr_xres_pixel, grFuncName, InitDEAxesRng, InitDEMem, InitTimeSeq, seqStepCk, setup_more_graph_fun, time_loop, TIOS_abs, unlock_more_graph_fun, DerefSym, FindSymInFolder, FolderAdd, FolderDel, FolderFind, HSymDel, SymAdd, SymFind, SymFindMain, VarStore, _bcd_math, NG_setup_graph_fun, NG_cleanup_graph_fun