nulldata 100
x = normal()
y = normal()
function void crash(void)
list z = seq(1,4)
end function
# list from vector: series ID 4 is out of bounds
# as should be
list z = seq(1,100)
# crach
crash()
Oleh
19 жовтня 2018, 01:04:31, від "Allin Cottrell" <cottrell(a)wfu.edu>:
On Fri, 19 Oct 2018, oleg_komashko(a)ukr.net wrote:
> Happy coincidence!
> I send an example before reading
> your message
Indeed!
But the "minor problem" remaining (per your example) is actually not
a problem.
As you say, the series "ser", created within a function, "has
penetrated into global data set" -- but it has penetrated in a
legitimate manner since it's a member of a list returned by the
function spoil300 and accepted by the caller via assignment.
If the caller did not assign the return value from that function,
"ser" would be destroyed on exit and would not feature in the global
data set.
Allin