Question: How to fold seq

ok i think they are called "nested" sequences, i will normally do something like: 


but in this circumstance the number of variables and the ranges for each are specified by the user in combo boxes and text windows etc, so i need to use foldl. The below doesn't work, so i was looking for a hint on what i am doing wrong:



Thanks in advance

Please Wait...