И снова здравствуйте,не судите строго за частые темы,я только начал вникать в скриптинг,так вот,вызываю процедуру:
Код
call step2 1 0 0 3
end_script
proc step2 #a #b #c #d
if_not #a = 0
repeat #a
send_down LEFT 100
send_up LEFT
wait 1s
end_repeat
else
wait 1ms
end_if
if_not #b = 0
repeat #b
send_down RIGHT 100
send_up RIGHT
wait 1s
end_repeat
else
wait 1 ms
end_if
if_not #c = 0
repeat #c
send_down UP 100
send_up UP
wait 1s
end_repeat
else
wait 1 ms
end_if
if_not #d = 0
repeat #d
send_down DOWN 100
send_up DOWN
wait 1s
end_repeat
else
wait 1 ms
end_if
end_proc
Выбивает ошибку "неправильно указана задержка между строк" после отработки первого условия:
Код
В чем дело?заранее спасибо!