Please enable JavaScript to view this site.

 

void = List_Destroy(sListVarName)

 

This macro function is used to destroy an existing list named sListVarName.

 

The macro code below creates 2 lists, works with them, and then destroys them at the end of the macro (this macro is shown in more details here).

sListCountries = List_Create('sListCountries')
sListCountryNameOverrides = List_Create('sListCountryNameOverrides')
//************************************************************
 
// now work with these 2 lists
// ...
// ...
// and at the end
 
//************************************************************
List_Destroy(sListHolidayNameOverrides)
List_Destroy(sListCountries)

See also: List_Create_Global List_Clear List_Destroy List_GetName List_GetNumber List_GetString.