You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once a variable is created, there is currently no way to delete it.
- Need function in Blockly.Variables for programmatic interaction
- Need means of deleting a variable from the gui, possibly via an additional
item in Blockly.Variables.dropdownCreate().
This requires some thought, though. Should deleting a variable that is used
elsewhere cause it to disappear globally? Should the deletion be ignored until
all uses are removed?
Original issue reported on code.google.com by derrell....@gmail.com on 10 May 2012 at 5:23
The text was updated successfully, but these errors were encountered:
Variables are created based on what blocks currently exist in the workspace.
If you delete all instances of a variable, then the variable ceases to exist.
Steps to recreate:
Create get variable block.
Rename variable to 'foo'.
Observe that exported JavaScript contains 'var foo;' and the Variables toolbox
contains 'item' and 'foo'.
Delete the variable block form the workspace.
Observe that the exported JavaScript and the Variables toolbox no longer
contains 'foo'.
Original comment by neil.fra...@gmail.com on 10 May 2012 at 6:09
Original issue reported on code.google.com by
derrell....@gmail.com
on 10 May 2012 at 5:23The text was updated successfully, but these errors were encountered: