[Thread Prev][Thread Next][Index]

[ferret_users] creating variables in a loop



Hello ferreters,

I want to create different variables in a loop like: var_1, var_2, var_3,… 
The number should be the index of the loop, so if I have a loop like repeat/l=1:40, I want 40 variables with the name var_1, var_2, …., var_40.

I didn’t find a way to do this. Can you please help me with this problem.






[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement