Capture a !rotate_order when using nested rotates

The proper way to set up a !rotate_order with nested rotates is to have one !rotate_order statement below will capture the rotate order of 15 questions that are asked. They are broken up into 3 groups of 5 questions each with nested rotates. You can still use a !group statement to keep the groups of questions together.

>PURGESAME~PREPARE COMPILE [ROTORDER] { MAINROTORDER: .60 HIDE !VARIABLE } { !ROTATE_ORDER,MAINROTORDER,ASKED } { MAINROT: !ROTATE,SCRAMBLE }{ !GROUP } { ROT1: !ROTATE,SCRAMBLE }>REPEAT $A=1,2,3,4,5{ Q$A:Q$A!FIELD1 12 2 }>ENDREPEAT{ !ENDROTATE } { !GROUP }{ ROT2: !ROTATE,SCRAMBLE } >REPEAT $A=6,7,8,9,10{ Q$A:Q$A!FIELD1 12 2 }>ENDREPEAT{ !ENDROTATE } { !GROUP }{ ROT3: !ROTATE,SCRAMBLE }>REPEAT $A=11,12,13,14,15{ Q$A:Q$A!FIELD1 12 2 }>ENDREPEAT{ !ENDROTATE }{ !ENDROTATE }{ !-ROTATE_ORDER } ~END