-- ping --
...
Am 25.03.2016 um 21:22 schrieb Sven Schreiber:
a list-returning function should also accept a string
array argument. The string elements in this array would be used by the
function as the names of the exported list members.
take the labels from the string array and use it for the returned
list
(inside the user-defined function). That is the concrete request right now.
An alternative might be that the function caller can specify some kind
of namespace prefix, perhaps by the "set" mechanism.
Example:
<hansl-proposed>
function list exmpl(void)
series s = normal()
list L = s
return L
end function
set funclist_prefix "mypr_"
list L2 = exmpl()
# ... and the series in L2 would be called "mypr_s"
</hansl-proposed>
Reminder: The point is that the caller has the power to avoid
nameclashes which would lead to series being overwritten.
Thanks,
sven