Scope of variables in Pluto

I’m not getting any errors like yours.

so I’m not sure I believe this:

Maybe you have another begin-end block somewhere which is also using a global i.

Try running a minimal, self-contained problem first and then expand it to the full problem, so it is easier to diagnose your issue.

1 Like