when call xx()
|
Source code
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<action name="xx">
set(j,0);
for(set(i,0),i LT 2,inc(i),
if(i == 1,break();trace('man'););
copy(l,i);
trace(get(l));
set(l,2);
trace(get(l));
if(stagewidth GT stageheight,trace('women'));
set(l,3);
trace(get(l));
);
trace(get(j));
</action>
|
get
|
Source code
|
1
2
3
4
5
6
7
8
|
INFO: 0
INFO: 2
INFO: women
INFO: 3
INFO: 1
INFO: 2
INFO: 3
INFO: 0
|
when i == 1,can not trace'man'
but the loop continue,
output 1 2 3
But the strange thing is that can not execute some action like
if
for
& any custom action
in this example,
if(stagewidth GT stageheight,trace('women'));
did not be execute when i == 1
1.19 pr6