X EZ X is a complete command, you can’t add it to another line-- just use your first try.

the reason it reports “too many commands” is that MUL is getting 3 params:

4
X
EZ X (returns one value)

this is due to how the command is processed-- i might suggest thinking right to left with complicated lines.

i might point out also that i made a special variable for this situation in v1.1: FLIP which changes state on each read.

so use P.L ADD 4 MUL 4 FLIP and you’re done

1 Like