I found out what was happening a bad character got into the editor input
causing the error

|spelling error
|   sqlfrdtsx@read&.> <;._2 shell 'dir /s /b ',(dbquote tslash y),'*.dtsx'

After removing the bad character the JHS editor worked as expected. I am
not sure how the character snuck in. Maybe from the browser clip board.

Thanks



On Thu, Apr 30, 2015 at 9:35 AM, Eric Iverson <eric.b.iver...@gmail.com>
wrote:

> I am confused by your problem report. It seems to involve comments
> about the JHS vs Jqt editors as well as about name resolution.
>
> If I define the following script, and then run it in JHS and run test
> it works as expected.
>
> *** 1.ijs
> test=:3 : 0
> shell 'dir'
> )
> ***
>
> Perhaps you can simplify and clarify your problem report.
>
> On Thu, Apr 30, 2015 at 10:18 AM, John Baker <bakerj...@gmail.com> wrote:
> > I've noticed a difference between verb definition between JQT and JHS
> >
> > You can define the follow verb from the JQT editor:
> >
> > scandtsx=:3 : 0
> >
> > NB.*test v-- scans all dtsx packages in a directory and extracts embedded
> > sql.
> > NB.
> > NB. monad:  blcl =. scandtsx clDirroot
> > NB.
> > NB.   csql=. scandtsx 'c:\wd\mwecc\fedi'
> >
> > NB. calling (shell) without locale suffix  can cause an error in the JHS
> > editor
> >
> > NB. standard J profile !(*)=. shell
> > files=. shell 'dir /s /b ',(dbquote tslash y),'*.dtsx'
> > sqlfrdtsx@read&.> <;._2 files -. CR
> > )
> >
> > but trying the same code fragment in JHS sometimes fails. It always
> works if
> > you fully qualify shell as shell_jtask_.
> >
> > Ambigous names gotta love em!
> >
> > --
> > John D. Baker
> > bakerj...@gmail.com
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



-- 
John D. Baker
bakerj...@gmail.com
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to