FolderCount Function (ROM Call 0x6B)

vat.h

unsigned short FolderCount (const SYM_ENTRY *SymPtr);

Determines a number of symbols in a folder.

FolderCount returns the number of symbols in the folder whose VAT entry is SymPtr. For example, to determine the number of symbols in the "main" folder, do the following:

number = FolderCount (DerefSym (SymFindHome (SYMSTR ("main"))));
See SYMSTR, SymFindHome, and DerefSym for more info.


Used by: FolderRename, handleVarLinkKey, LIO_Receive, OSLinkCmd