[open] Use .csv in lieu of loop "spreadsheet"
I've seen several responses which do "nearly" what I want so please excuse me for not being able to work it out for myself:
I'd like to use a .csv (or other text file) as a "drop-in replacement" for the variable data in a "loop" (so that I can edit some complex materials externally). Following this discussion it seems easy to read stuff in and transfer it to experimental variables, but if I understand the example correctly it had six items hard-coded in?
What I'd like to do is generalise the solution into a loop, so that I can read in an arbitrary number of items into "setcycle" variables without having to write repetitive and error-prone code. And for some reason, a sensible solution is eluding me... Any pointers hugely appreciated!