Hello,
I found a bug when using global variables and ServerTree.add.
This is the code I have:
(
ServerTree.removeAll();
ServerTree.add({
~fxGroup = Group.new;
})
)
~fxGroup
Then I will do the following:
- I evaluate the first region
- I press
Cmd + . to create a new group. The group is existing on the server.
- I evaluate the line
~fxGroup
- I would expect that that
~fxGroup evaluates to the group number, but it is evaluating to nil.
If I do the same in ScIDE I get the expected value and pressing Cmd + . multiple times will update the global variable ~fxGroup.
Some additional note:
- If I evaluate
CmdPeriod.run() instead of pressing Cmd + . everything is working as expected.
Hello,
I found a bug when using global variables and
ServerTree.add.This is the code I have:
Then I will do the following:
Cmd + .to create a new group. The group is existing on the server.~fxGroup~fxGroupevaluates to the group number, but it is evaluating tonil.If I do the same in ScIDE I get the expected value and pressing
Cmd + .multiple times will update the global variable~fxGroup.Some additional note:
CmdPeriod.run()instead of pressingCmd + .everything is working as expected.