Available in:
Apps (win)
Apps (char)
Reportwriter
RPC
Standalone PL
X
X
X
X
X
list list_close(list-name) list list-name
WL = list_close(LL); WL = list_close(get_list());Where get_list() is a user function that returns a list. Returns a list from a user function without creating a new list reference.
{ list LL; LL = list_open("SELECT name,id FROM staff",1000); return(list_close(LL)); }Closes and drops a list.
{ list LL; LL = list_open("SELECT name,id FROM staff",1000); list_view(LL,0); list_close(LL); }