Randomization of several loops

Thank you for your reply!

Yes that is what I am trying to do as the routines differ slightly from each other.

If I understand it right I should create one single routine and specify the different parameters of every trial in the outer loop?

Again thank you for your help!