| cmd_newfold | Function (ROM Call 0x364)

AMS 1.01 or higher | bascmd.h

void cmd_newfold (SYM_STR FolderName);

Executes TI-Basic 'NewFold' command.

cmd_newfold creates a new folder, then sets the current folder to that folder. The parameter FolderName should point to the variable tag of the name of the folder to be created (see SYMSTR). This function may be used as a high-level alternative for the low-level functions FolderAdd and FolderCur from the vat.h header file.

Uses: ER_throwVar, ST_folder, ParseSymName, CheckSysFunc, FolderAdd, FolderCur, IsMainFolderStr

See also: cmd_delfold, FolderAdd, FolderCur