:for loops need better documentation.

The old docs are much better: https://www.mikrotik.com/documentation/manual_2.7/System/Scripting.html#ht4027627

The new docs basically tell you “good luck”: http://wiki.mikrotik.com/wiki/Manual:Scripting#Loops

Command = for

Syntax = :for from= to= step= do={ }

>
> Description =	execute commands over a given number of iterations

You might think that from= the start value, to= the finish value and the loop won't execute when step= a positive value and from= larger than to=. Or that without a step= the loop will always iterate in ascending order.

Wrong! And wrong!

In due time I'll blog about this, but the fact that newer documentation has less information than older documentation is not a good start.

--jeroen