03-19-2021, 07:12 AM
Hi,
I just tried on your example that description:
And that works as expected (got 3 for your example which is the right distance with these steps between (last From) and (last To)).
I know I improved recently the code for this ludeme, but maybe I also fixed something without to be aware about it, so if that does not work for you with the current version, that will work with the next version for sure.
Regards,
Eric
I just tried on your example that description:
Code:
(count Steps
(step (to if:(or (= (last To) (to)) (is Empty (to)))))
(last From)
(last To)
)
And that works as expected (got 3 for your example which is the right distance with these steps between (last From) and (last To)).
I know I improved recently the code for this ludeme, but maybe I also fixed something without to be aware about it, so if that does not work for you with the current version, that will work with the next version for sure.
Regards,
Eric