Skip to main content
3 events
when toggle format what by license comment
May 13, 2016 at 9:10 comment added fez Hi @MarcoB, I updated the example with a smaller code that stills shows the problem. Now the code does not define new variables. The setenv function is entirely gone, so it should not be a problem of context anymore. Now that the code is so small, is it easier for you to tell what's going on?
May 13, 2016 at 7:31 comment added fez Yes, you are right, setenv sets helper variables that are used from the other functions. Bu I don't think that the problem is what you said. I call the same commands both in the Notebook and in the Package. If something was messing up the local variables (set with setenv) in the Package, the same operation would mess up the global variables (again set with setenv) in the Notebook version. Wouldn't it?
May 12, 2016 at 19:08 history answered MarcoB CC BY-SA 3.0