Note About Series Data
Author: Carl Sassenrath
Here is an important point for beginners to understand.
When you write a function that has a data series such as a block or string, the data is persistent over all calls to the function.
This is easier to understand with an example:
Now use the function from the console:
If you don't remember this behavior, it's going to surprise you when you least expect it. If you don't want it to happen, you can COPY the series before you use it:
This is also true for strings and other series datatypes.