 |
VarNew |
Function (ROM Call 0x28E) |
Displays the standard "New" dialog.
VarNew implements the standard "New" dialog. The user may select a type to
create as well as the folder to create the new variable in, and then may type
in a variable name.
FileTypes is a pointer to a zero-terminated array of types that are
supported (see VarOpen for more info). VarNew
returns the HSym descriptor of the newly
created symbol, or H_NULL if the user
presses 'ESC' or in case of an error.
This function may cause heap compression.
Uses: DialogAdd, DialogDo, DialogNew, HeapFree, ER_catch, ER_success, ERD_dialog, TokenizeSymName, top_estack, memset, PopupAddText, PopupNew, PopupText, VarCreateFolderPopup, strcat, strlen, XR_stringPtr, DataTypeNames, FirstNonblank, VarOptList, VarSaveTitle, FindSymInFolder, StrToTokN, SymSysVar, VarStore
See also: VarOpen, VarSaveAs