loop action - Forum

Forum Navigation
You need to log in to create posts and topics.

loop action

hello

Two loop Action
It does not work inside each other.

Loop "1" "[n]" "[a]"
Loop "1" "[q]" "[b]"

endloop
endloop

 

Both stop with the Endloop Action.

@s7shanbe

Everything works fine for me!

SetVar "[n]" "3"
SetVar "[q]" "5"
Loop "1" "[n]" "[a]"
Loop "1" "[q]" "[b]"
AlertBox "" "External Loop [a]|Internal Loop [b]"
endloop
endloop

test like this

SetVar "[n]" "5"
SetVar "[q]" "3"
Loop "1" "[n]" "[a]"
Loop "1" "[q]" "[b]"
AlertBox "" "External Loop [a]|Internal Loop [b]"
endloop
endloop

@s7shanbe

Everything works fine for me! It makes no difference which cycle has more loops, they are independent of each other. Are you getting an error?