| AddSymToFolder | Function (ROM Call 0x70)

vat.h

HSym AddSymToFolder (SYM_STR SymName, SYM_STR FolderName);

Adds a symbol in a given folder.

AddSymToFolder acts like SymAdd, but adds the VAT entry in the folder given by FolderName. See SymAdd and SYMSTR for more info and rules about SymName and FolderName.
Note: This routine is a bit buggy: if the folder FolderName does not exist, the behavior of this routine is very uncertain, and may result with a crash.

Uses: DerefSym, FindSymInFolder, MakeHSym, SymCpy, HeapFree, HeapRealloc, memmove, _ds32s32
Used by: cmd_local, cmd_newdata, de_initRes, de_loop, InitDEMem, InitTimeSeq, push_user_func, recall_data_var, seqWebInit, spike_in_editor, spike_titles_in_editor, NG_setup_graph_fun