Texas Instruments TI89 Developer Guide - Page 400
VarNew, Declaration, Categoryies, Description, Inputs, Outputs, Assumptions, Side Effects
![]() |
UPC - 033317198566
View all Texas Instruments TI89 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 400 highlights
358 Appendix A: System Routines - Dialog VarNew Declaration: HSYM VarNew (BYTE * Types {, BYTE * subTypeList [ ]}) Category(ies): Description: Inputs: Dialog Creates a standard NEW dialog box (go to the Program Editor and do a F1, 3 (New . . . ) as an example). The user may select from a list of types to create as well as the folder to create it in and then may type in a variable name. Types - An array, terminated by zero, of the following types: GDB_VAR_TAG, PIC_VAR_TAG, TEXT_VAR_TAG, DATA_VAR_TAG, MATRIX_TAG, LIST_TAG, FUNC_BEGIN_TAG, PRGM_TAG, STR_DATA_TAG, EQUATION_TAG, GEN_DATA_TAG. Each value in the Types list will be presented to the user in a drop-down (unless there is only one value in the list then it will be a static field). subTypeList - For each GEN_DATA_TAG byte in the Types list, there (optional) must be a string pointer in the subTypeList that points to the text to display in the drop down. This parameter may be left off if there are no GEN_DATA_TAGs in the Types list. Outputs: The HSYM of the newly created symbol or H_NULL if the user presses N or there is an error creating the symbol. Assumptions: None Side Effects: May cause heap compression. Availability: All versions of the TI-89 / TI-92 Plus. TI-89 / TI-92 Plus Differences: None See Also: VarOpen, VarSaveAs (continued) TI-89 / TI-92 Plus Developer Guide Not for Distribution Beta Version January 26, 2001
![](/manual_guide/products/texas-instruments-ti89-developer-guide-95b636f/400.png)