DIETER ENSSLEN wrote:
>  when I would much rather stay in ijx , do it all there, and never know ijs.

J is not APL.  

J relies on the standard, ubiquitous filesystem paradigm to persist data.   
This is also true of every other programming language I
know (including BASIC), except APL.  

Here is a list of tools you might find useful to make the conceptual 
transition, which you might not already be aware of.

In an IJS window:

        *  From the menu bar, select Window>Tile.

        *  Put your cursor on a line,  hit CTRL+R, 
             or select Run>Line from the menu bar.

        *  Highlight/select multiple lines,
             hit CTRL+E or select Run>Selection 
             from the menu bar.

        *  Don't select anything, but hit 
            CTRL+ W, or CTRL+SHIFT+W, or 
            select  Run>Window or 
            Run>Window Display from the
            menu bar.

In the IJX window:

        *  Hit CTRL+D or select 
            Edit>Input Log from the menu bar.

        *  Type:       
                list nl_base_ $0     
             and press enter.

        *  Select a bunch of "lines and numbers 
            all over the place" that you don't like,
            and hit the delete key.
           
        *  Select File>Save As from the menu bar,
            select "Session (ijx)" from the "save as 
            type" dropdown, click  save.  Shut down
            J.  Start a new J. In the menu bar of the
            new IJX window, select File>Open.
            Select "Session (ijx)" from the "save as
            type" dropdown. Click the file you just
            saved.  Click open.

Hope that helps.   By the way, it is entirely possible to implement an 
"APL-like workspace" interface in J.  This is one of those
things that are not  "what J is", but is exactly the kind of thing a 
knowledgeable Jer could put together in 5 minutes to "make it
what he wants it to be".  Of course, by the time you're that knowledgeable you 
may not "want it" anymore.  But you'd have the
option.   

>  hopefully  a lot more significant digits than my other devices have

By default, J has exactly as many significant digits as the "desktop 
calculator" on your computer (because by default it uses the
same arithmetic mechanisms and hardware that that calculator users).

You can get arbitrary precision by changing your programs slightly, but these 
will be expressed as rational numbers (for example
23r7 as opposed to 3.28571).  And using them will cause your programs to run 
slower and give that "out of memory" message faster.

-Dan


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to