Am 31.10.2017 um 11:31 schrieb Filipe Rodrigues da Costa:
 I'm trying to find a way of generating variable names
automatically. 
 My question is simple: is there a way of controlling the name of the
 output variable in a different way than what is used above? I mean, how 
 can I get output in variables with name: ret1, ret2,..., ret12? Is there 
 any sequential command that can be added to ret*? 
You can use the numerical value i (not $i) in the loop and stick it into 
a sprintf() function for example to get a string, say s, that you then 
can use as @s.
Or take a look at the genseries() function; it returns a number which is 
counterintuitive at first sight, but you can build up lists of series 
like that, and the series also get created. There are examples in the 
doc I believe.
cheers,
sven