As I mention in the write-up, "usuinit" is a text variable: it is only there
to give an example of what I would usually do to run this code (to simply
demonstrate it).  I use the "0 : 0" form to have a multi-line comment
that I can simply cut-and-paste into my session if I want to run some or
all of the lines therein.

I should probably give it a more descriptive name, like "Example" or
something.  The existing name is descended from a more general
idea of the USUal INITialization I'll do when I'm developing the script.

On 4/12/07, Murray Eisenberg <[EMAIL PROTECTED]> wrote:

Your script ssdir.ijs confuses me: Among other things it defines usuinit
that loads the script SDDir.ijs.  There's a self-referential problem
here, isn't there?


Devon McCormick wrote:
>
> If you're interested, I've posted a (fairly) simple example of opening a
> window to
> query for a source and destination directory and wait for the user to
finish
> inputting
> them.  It's on the J wiki at
> http://www.jsoftware.com/jwiki/Scripts/SourceDestDir .

--
Murray Eisenberg                     [EMAIL PROTECTED]
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305
----------------------------------------------------------------------
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