: shell variable test
set a = a
: loop
if $a = z exit
echo first time
set a = z
goto loop
