pedro.estrela
2020-01-30 01:05:29
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: