Nesting do-loops
Nesting do-loops
(OP)
Hi,
I need to nest a couple of do-loops to vary multiple parameters. It seems only 5 do-loops can be nested and I need to vary 6 parameters.
Is this correct? Are there other (better) ways of varying parameters?
Thanx in advance
I need to nest a couple of do-loops to vary multiple parameters. It seems only 5 do-loops can be nested and I need to vary 6 parameters.
Is this correct? Are there other (better) ways of varying parameters?
Thanx in advance





RE: Nesting do-loops
RE: Nesting do-loops
this is the code snippet in which I vary 6 parameters. However it seems to only loop through the first five, and not the sixth:
*DO,rekEmodulusTemp,Emodulus,Emodulusmax,(Emodulusmax-Emodulus)/Emodulusstap
*DO,rekAkomTemp,Akom,Akommax,(Akommax-Akom)/AkomStap
*DO,rekMassa,massa,massamax,(massamax-massa)/massaStap
*DO,rekBlength,Blength,Blengthmax,(Blengthmax-Blength)/BlengthStap
*DO,rekRotatiestijfheidLinks,RotatiestijfheidLinks,RotatiestijfheidLinksmax,(RotatiestijfheidLinksmax-RotatiestijfheidLinks)/RotatiestijfheidLinksStap
*DO,rekRotatiestijfheidRechts,RotatiestijfheidRechts,RotatiestijfheidRechts,(RotatiestijfheidRechtsmax-RotatiestijfheidRechts)/RotatiestijfheidRechtsStap
*USE,MODEL
*ENDDO
*ENDDO
*ENDDO
*ENDDO
*ENDDO
*ENDDO
RE: Nesting do-loops