Well, I got a bit further in the unum lab, but it looks like I still need to set the directory.
After a couple of steps in the unum lab I get: load 'utils.ijs' NB. utility functions not found: C:/Users/Skip/j64-804/utils.ijs |file name error: script | 0!:0 y[4!:55<'y' So I still need to point the lab to where all the unum files are, which is C:/Users/Skip/j64-804/projects/unum (where the utils.ijs file is located) So I tried: 1:!44 '~projects\unum' |syntax error | 1:!44'~projects\unum' Still no luck. Skip Cave Cave Consulting LLC On Tue, Aug 16, 2016 at 4:06 PM, Raul Miller <[email protected]> wrote: > cd is defined as part of the base system. > > http://www.jsoftware.com/help/user/call_procedure.htm > > chdir would be 1!:44 if it were defined. > > http://www.jsoftware.com/help/dictionary/dx001.htm > > I hope this helps, > > -- > Raul > > > On Tue, Aug 16, 2016 at 4:40 PM, Skip Cave <[email protected]> > wrote: > > Robert, > > > > Starting the labs, navigating to my unum directory, and then running lab > > _jlab_ 'unums.ijt' worked! Now I'm able to run Roger's unum lab code. > > Thanks for the help. > > > > It looks like in my JQT, the verb "cd" is set to the foreign 15!:0, which > > is a DLL call. I have no idea what this is so. There doesn't appear to be > > any defined verb name for "Change Directory" > > > > While trying to get started, I searched all over the J software site for > > "change directory", "cd" and "directory" and couldn't find anything. I > > didn't think to look under the "files" foreign conjunction. The search > term > > that would be required was "Set Working Directory" (1!:44) which would > have > > gotten me there. > > > > However, the actual string needed to define the new directory is not > > immediately obvious. So the "run labs & navigate to the file" method is > the > > easiest approach, at least for me. > > > > Skip > > > > > > Skip Cave > > Cave Consulting LLC > > > > On Tue, Aug 16, 2016 at 3:07 PM, robert therriault < > [email protected]> > > wrote: > > > >> Or you can open the Lab dialogue in jqt with Help|Studio|Labs... and > then > >> use the Browse button in the upper right to go to the unums.ijt file in > the > >> unumslab folder. At least that works in the Mac system for jqt. > >> > >> Cheers, bob > >> > >> > On Aug 16, 2016, at 12:58 PM, Vijay Lulla <[email protected]> > wrote: > >> > > >> > You can try > >> > > >> > 1!:44 '~projects\unum' > >> > > >> > instead of cd in your JQT session. > >> > > >> > On Tue, Aug 16, 2016 at 3:33 PM, Skip Cave <[email protected]> > >> wrote: > >> > > >> >> 1. Downloaded www.learningj.com/unumslab.zip > >> >> 1a. Unzipped file to: C:\Users\Skip\j64-804-user\projects\unum > >> >> 2. Checked to make sure J labs was installed (and up to date) > >> >> 3. Started a JQT session > >> >> 4. typed cd 'projects\unum' in JQT session: > >> >> > >> >> cd 'projects\unum' > >> >> > >> >> |domain error: cd > >> >> > >> >> | cd > >> >> ' > >> >> projects\unum' > >> >> > >> >> > >> >> cd > >> >> > >> >> 15!:0 > >> >> What's wrong? > >> >> > >> >> Windows 10, 64bit i7, Dell Inspiron 7348 2-in-1 Laptop > >> >> > >> >> Skip Cave > >> >> Cave Consulting LLC > >> >> > >> >> On Tue, Aug 16, 2016 at 5:13 AM, roger stokes < > [email protected] > >> > > >> >> wrote: > >> >> > >> >>> Dear All, > >> >>> > >> >>> I've heard it said that you don't understand a subject > >> >>> unless you can explain it to a computer. With that in mind > >> >>> I've attempted a software implementation of Gustafson's Unums 2.0 > >> >>> > >> >>> ( http://www.johngustafson.net/presentations/Unums2.0.pdf ). > >> >>> > >> >>> If anyone is interested, there is a demo available in the > >> >>> form of a J lab. To run the lab > >> >>> > >> >>> Download www.learningj.com/unumslab.zip > >> >>> > >> >>> Unzip into any convenient directory > >> >>> > >> >>> Follow directions in the readme file > >> >>> > >> >>> Comments and criticisms appreciated. > >> >>> > >> >>> Regards > >> >>> ------------------------------------------------------------ > ---------- > >> >>> For information about J forums see http://www.jsoftware.com/ > forums.htm > >> >> ------------------------------------------------------------ > ---------- > >> >> For information about J forums see http://www.jsoftware.com/ > forums.htm > >> >> > >> > ------------------------------------------------------------ > ---------- > >> > For information about J forums see http://www.jsoftware.com/ > forums.htm > >> > >> ---------------------------------------------------------------------- > >> For information about J forums see http://www.jsoftware.com/forums.htm > >> > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
