There are these routines - http://www.jsoftware.com/jwiki/Scripts/WS Files -
and this one I wrote (which is probably not as good):
http://www.jsoftware.com/jwiki/Scripts/File J Variables .

On Sun, Sep 25, 2011 at 7:56 PM, chris burke <[email protected]> wrote:

> The use of workspaces has been discussed several times in the forum, try
> searching on workspace in http://www.jsoftware.com/forumsearch.
>
> We recommend doing all your development work in scripts, see
> http://www.jsoftware.com/jwiki/Doc/J4APL#WorkspacesandScripts. Since
> scripts
> are saved automatically when run from the IDE, you will not lose work in
> progress after a crash.
>
> Chris
>
> On Mon, Sep 26, 2011 at 7:00 AM, Nick Simicich <[email protected]> wrote:
>
> > I see that  there is entry on the J wiki about the fact that there is no
> > workspace save in
> > J<http://www.jsoftware.com/jwiki/Guides/General%20FAQ/Workspace> that
> > asserts that there is no built-in workspace save.
> >
> > But then I thought that it should be possible to save a workspace in J.
> >  Not
> > with a built in save, but with a function that enumerates names of
> > different
> > types, classifies them, writes them to files and puts them back together.
> >
> > I think that such a function would have to go through the list of objects
> > (definitions and nouns), determine type, and convert it to some format
> that
> > could be written to a file.
> >
> > The biggest problem I see is that some nouns would be unable to be
> > converted
> > to nouns in a definition...you could create special verbs that could
> > recreate those nouns, maybe all of them at once, and then delete the
> > creating verb once it had done its job. Or maybe you could put everything
> > into a file in a special format and then have the "restore workspace"
> verb
> > read the create verb and put the defined functions and nouns back.
> >
> > In my adventures in programming, I occasionally do something that freezes
> > my
> > whole machine because I overcommit memory so bad that I can't get
> through,
> > and then if I've built tables in my workspace I lose them, because all I
> > can
> > do is x out.
> >
> > Overcommiting is serious - it gets so bad that I can't get to anyplace I
> > can
> > start the break program from, so all I can do is click on the kill window
> > box, and that gets me out.
> >
> > Has anyone tried to write a "save" verb?  Or one that saves the base
> > locale,
> > or some named locale?
> >
> > or is it just impossible because of something I don't get?
> >
> > --
> > Of course I can ride in the carpool lane, officer.  Jesus is my constant
> > companion.
> > ----------------------------------------------------------------------
> > 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
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to