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

Reply via email to