![]() | |
#1
| |||
| |||
|
#2
| ||||
| ||||
|
|
Hi All, I was wondering how people implemented nested Sript Loops in FMP7. |
|
From my experience 1. You cannot nest or overlap Loops - they must be sequential standalone blocks |
|
2. If Then etc can be freely nested |
|
3. I have needed nested Loops, but could only do it via clunky recursive calls to the same script etc How do others manage |
#3
| |||
| |||
|
|
In article <AITXe.684$0E5.352 (AT) news-server (DOT) bigpond.net.au>, ronald_h70 @hotttmail.commm says... Hi All, I was wondering how people implemented nested Sript Loops in FMP7. By nesting them. From my experience 1. You cannot nest or overlap Loops - they must be sequential standalone blocks That is incorrect. 2. If Then etc can be freely nested Yep. 3. I have needed nested Loops, but could only do it via clunky recursive calls to the same script etc How do others manage set counter1=10; loop counter1 -1 set counter2 = 5; loop counter2 -1 new record exit loop if counter2=0 end loop exit loop if counter1=0 end loop generates 50 records, as exected. |
![]() |
| Thread Tools | |
| Display Modes | |
| |