Skip to content
Prev 157328 / 398506 Next

Return a list

that's likely to work, but it's even worse than my non-functional
version: the destructive operation on the test's caller's environment is
performed here by the callee (test), and you can get ugly surprises if
you forget that test does that. 

i'd consider this (and the 'for (name in names(result)) assign(...)'
solution) an anti-pattern. 


vQ
N. Lapidus wrote: