Thanks, Bill. It's wd 'set strength text ..' The ID has to come first but this solved almost all the problems I was having with this bit of code. I have something basically workable but with a number of flaws: https://code.jsoftware.com/wiki/NYCJUG/2021-11-09#Show-and-tell .
On Sun, Oct 31, 2021 at 9:11 PM bill lam <[email protected]> wrote: > The wiki page that you followed was written J602 wd commands. Jqt wd > commands adopted a similar but different syntax. J602 set command always > sets the 'text' property and is implied, but Jqt needs the explicit 'text' > because it can also set other properties, see wiki wd commands reference. > J602: > > wd 'set strength *entropy ',(":<.(".size)*2^.#alph),' bits' > > Jqt > wd 'set text strength *entropy ',(":<.(".size)*2^.#alph),' bits' > > (untested) > > > On Mon, Nov 1, 2021 at 3:06 AM Devon McCormick <[email protected]> wrote: > > > Hi, > > > > Does anyone use the JQt environment for J much? I'm taking a stab at > > updating and extending the code here: > > https://code.jsoftware.com/wiki/User:Andrew_Nikitin/Literate . > > > > I want to see how suitable I find J for developing a GUI app. Now that > > I've started, I'm starting to wonder if I should have started with a > > web-based front-end instead but I thought it might be easier to start > from > > something which presumably worked at some point. > > > > That aside, I'm finding it painful to use the JQt interface compared to > my > > normal custom of running J under emacs. I feel I have to use JQt because > > of the GUI component. I think I once got some GUI-based code working > under > > emacs but that was years ago and would be too much of a distraction from > my > > immediate project. > > > > You can see what I've done so far here: > > https://code.jsoftware.com/wiki/NYCJUG/2021-11-09#What_I_Have_So_Far . > > This just brings up the initial window; none of the buttons work except > the > > one to cancel the dialog. > > > > Anyway, for really simple things I do in emacs, like recalling the > previous > > command, it is not obvious how I would do this in JQt. At the moment, > I'm > > working mostly in emacs and loading my code into JQt, so this may have to > > be how I deal with it but I'm interested in other people's experience > > working with JQt. > > > > Thanks, > > > > Devon > > > > -- > > > > Devon McCormick, CFA > > > > Quantitative Consultant > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > -- Devon McCormick, CFA Quantitative Consultant ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
