aroberge / reeborg

Enhanced Karel-the-robot clone
http://reeborg.ca/reeborg.html
Other
47 stars 36 forks source link

Add id to watch variable #364

Closed aroberge closed 7 years ago

aroberge commented 7 years ago

Add id to watch variable. Show examples when two variables in different scope (local, nonlocal, global) share the same name, but different id, or two variables with different names, but same id.

Review which scope the variable is shown based on id.

See if robots can be removed when no longer in scope.

aroberge commented 7 years ago

Not useful: numbers have unique id and this would confuse the situation between objects with local and global scope. I did make changes, which improved the usefulness of watching variables.