I know how to do this with a loop and if statement, but not with a for iterator.
Anyone able to tell me how to do a loop that can do this?
for i in min..max
$num1 = i
Where i is an odd or even or whatever number.
The if equivalent would be
i = 0
i += 2
$varnum = i
if i >= 20
I'm looking for some smaller version of that code.