Hello, I use the attached file to define several multiple-choice questions on one page. It works reasonably fine, but I would like to replace the spaghetti code bellow by some cycle. Is it possible?
Thank you. Robert Marik
Code:
### [@ $nadpis[0] @]
[@ $text[0] @]
[_]{$radio[0]}
-------------------
### [@ $nadpis[1] @]
[@ $text[1] @]
[_]{$radio[1]}
-------------------
### [@ $nadpis[2] @]-------------------
[@ $text[2] @]
[_]{$radio[2]}