(Recursive) nested loops and IFs?
|
12-17-2015, 04:17 PM
(This post was last modified: 12-17-2015 04:45 PM by Didier Lachieze.)
Post: #5
|
|||
|
|||
RE: (Recursive) nested loops and IFs?
Here is a way to replace the nested loops by a single one using a list (LoopIdx) to store the different loop index values. LoopIdx is replacing Loop1, Loop2, Loop3 & Loop4 and allows for a dynamic number of variables as it is sized according to the size of your L3.
This is based on the latest version of your program: PHP Code: SUBRFROMTO() It is working with the test case you provided. I'm not a geocacher but I know some people who are and may be interested by your program. Here are the detailed modifications I've made to your program:
|
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(Recursive) nested loops and IFs? - chromos - 12-17-2015, 07:17 AM
RE: (Recursive) nested loops and IFs? - chromos - 12-17-2015, 07:28 AM
RE: (Recursive) nested loops and IFs? - Didier Lachieze - 12-17-2015, 11:50 AM
RE: (Recursive) nested loops and IFs? - chromos - 12-17-2015, 12:15 PM
RE: (Recursive) nested loops and IFs? - Didier Lachieze - 12-17-2015 04:17 PM
RE: (Recursive) nested loops and IFs? - chromos - 12-17-2015, 08:20 PM
RE: (Recursive) nested loops and IFs? - Didier Lachieze - 12-18-2015, 08:06 AM
RE: (Recursive) nested loops and IFs? - chromos - 12-18-2015, 10:25 PM
RE: (Recursive) nested loops and IFs? - Didier Lachieze - 12-18-2015, 10:40 PM
RE: (Recursive) nested loops and IFs? - chromos - 12-18-2015, 11:32 PM
RE: (Recursive) nested loops and IFs? - Didier Lachieze - 12-19-2015, 12:00 AM
RE: (Recursive) nested loops and IFs? - chromos - 12-19-2015, 12:05 AM
RE: (Recursive) nested loops and IFs? - chromos - 01-17-2017, 11:46 AM
|
User(s) browsing this thread: 3 Guest(s)