Just a quick question. Do For Loops not work inside of functions?
I have a ReverseForEachLoop currently inside a Macro which modifies an array depending on a value. It works perfectly fine.
However, I am trying to turn my Macros into Functions, and when I place the exact same code into a Function, it doesn’t seem to work. My Macro/Function also contains a branch and depending on this, the array is modified or not.
It’s like my Loop code is ignored when I put it into a function.
So is it not possible? I could leave it as a macro, but it is something that gets used quite often and thought I’d be better of with a function.