ScriptName qesGetSizeStringstring_var namearray_var arrshort sizestring_var sizeStrBegin Function {name,arr} Let size := ar_Size arr if size == 0 Let sizeStr := sv_Construct "%z", name else Let sizeStr := sv_Construct "%z (%.0f items)", name, size endif SetFunctionValue sizeStr sv_Destruct sizeStrEnd
Is that last sv_Destruct required? Or harmful?