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

Reply via email to