SymListItem (hsyml, isym)

This function returns the Symbol record at the zero-based index isym in the symbol list hsyml. The size of the symbol list is returned by SymListCount.  See: Symbol Record.

Index values start at zero, and continue up to one less than the value returned by SymListCount.

This example enumerates all symbols in the symbol list:

csym = SymListCount(hsyml)

isym = 0

while (isym < csym)

   {

   symbol = SymListItem(isym)

   // … do something with symbol

   Msg ("symbol name = " # symbol.name)

   isym = isym + 1

   }