If you really want/need the indexes, then you'll have to do something more like what you've got with all the indices and looping instead of the way I've done it with map.
-------------------
Maybe. I do like this algorithm, but the only thing is, I need the value of each key where a row starts, i.e. each minor frame key and each major frame key. Especially since these keys are not necessarily sequential, nor are the same as the corresponding values of each key, as you say, I need to iterate as I do in my original code.
In reply to Re: Refactoring nested if block
by bowei_99
in thread Refactoring nested if block
by bowei_99
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |