local variables can change for delayed actions

I'm seeing that local variables can change when using delayed actions.

Page 32 is very clear that this can happen on global variables; but it suggests this is not the case for local variables.

On the below example, "yy =0" on rule 5.13, but its delayed outgoing action sends "yy=5".

there is a lot of stuff hapenning between the delayed action; rule 16.59 sets yy to that value 5.

Annexed the full bome log as well.

 

$ cat bome_locals.txt | egrep "5\.13|yy"
3037945 - IN 5.13 On timer "cfx_disable"
3037945 - RULE 5.13 assignment: (xx=6) = 6
3037945 - RULE 5.13 assignment: (yy=jy) = 0
3037945 - RULE 5.13 assignment: (pp=0) = 0
3037961 - RULE 16.59 expression: (yy=k2+5) = 5
3037966 - OUT 5.13 Note On on ch.'xx'=6 (ch.7) with note:yy=5 and velocity:pp=0


Attachments:
1580342693939_bome_locals_with_delayed_actions.txt

Hi,

yy is a global variable all that start with y and z are globals

locals are only these 10

oo,pp,qq,rr,ss,tt,uu,vv,ww,xx

clear now