FolderFind Function (ROM Call 0x67)

vat.h

short FolderFind (SYM_STR SymName);

Checks whether a folder exists.

FolderFind searches for a folder SymName through the folder table in the VAT, and returns the following result:

These constants are defined in enum FolderStats. See SYM_ENTRY for more info about structure of VAT entry, and SYMSTR for rules about SymName.


Uses: IsMainFolderStr, SymCmp, TokToStrN, _mu16u16
Used by: cmd_blddata, cmd_movevar, ROM Call 0x437