Thanks Bob and Chris/all. I confirmed my behavior is the same as bob's and is working as I expect, but I can see how it could be confusing to a new user. Having worked with JQT, I wouldn't expect to be able to type "t" without running the script on the right side first to initialize t. The playground edit window is the same as File->Open in JQT. In JQT it opens the file in a separate window, whereas the playground opens it in the edit window (right pane). That script is not run until the user runs it
I also agree it'd be nice to have a toggle for "Toggle Edit Window" under "View" which would enable the user to hide it when they are using the Labs (or we automatically hide it). I've added it as an enhancement https://github.com/jsoftware/j-playground/issues/51 On Wed, May 11, 2022 at 1:53 PM 'robert therriault' via General < [email protected]> wrote: > Hi Chris, > > I can use the terminal window before loading the edit window, but I won't > be able to access the variables declared in the edit window until it is > run, which I think is reasonable behaviour. > > The issues at the beginning of this thread, I believe, are the result of > trying to access variables declared in the edit window on the terminal > before the edit window has been loaded. Sort of the same situation as > script files and the terminal session if you did not know that script files > needed to be loaded. In the case of the Playground, the edit window is seen > at the same time as the terminal, so the user might assume that all > information is available in both places. > > I agree that the edit window is not necessary when running labs, but I > think Joe is rightly focussing on the correctness of the Playground's > results and will move back to the interface when he is comfortable with the > Playground's accuracy. > > These comments are useful when he gets back to working in that area, but > would be better if they were entered as issues here: > https://github.com/jsoftware/j-playground/issues > > Cheers, bob > > > On May 11, 2022, at 10:36, chris burke <[email protected]> wrote: > > > > This just looks like a bug. It shouldn't be necessary to run the edit > > window first just to use Term. > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
