Actually I already used the varsimul() function before, but totally forgot about it. But I didn't know about the possible use of the filter function in this context. Thank you for this hint!

Artur

2014-03-30 19:54 GMT+02:00 Hélio Guilherme <helioxentric@gmail.com>:
I must be having some memory problems!

My example is wrong if you test it you will see that the results differ. I ment to warn you of that but wrote exactly the opposite (missed the "not" word): (but results are NOT the expectED ones)

Please double check the script.

Hélio

Thanks for the information, Hélio.