Erroneous Lua outcomes

Started by Bruno Kestemont

Bruno Kestemont Lv 1

See the result of the following bellow

print("DEBUG segStart= ", segStart)
print("DEBUG segEnd= ", segEnd)
if segStart>segEnd then increment=-1 end
local test=segStart>segEnd 
print("DEBUG itest= ", test)
print("DEBUG increment= ", increment)
for i= segStart, segEnd, increment do
    print("DEBUG 255")

Recipe outputRecipe output

And the recipe stops before "for I= …

???? it's like Lua commands are not responding correctly ????