Fraser Jackson wrote:
> The following example provides a script in the noun b which
> is not executed by  0!:1 .
...
> require 'files'
> g =: 0 : 0
> test1 =: 0 : 0
> 3 = 3
> )
> g =: g,')',LF
> g fwrite 'temp\6.ijs'
> b =: 'm' fread 'temp\6.ijs'
> 0!:1 b

At first, I had a problem with your example, because the
file name you choose was invalid on the system I tried
this out on.  But I don't think that's the issue you
were trying to talk about.

Here's a simpler example.  Given:

g=:0 :0,')',LF
 t=:0 :0
  3=3
)

This works:
   0!:1 g

This does not work:
   0!:1 ];._2 g

Put differently, :0 facilities currently require the script have
frets (the matrix form does not have frets).

Given the presentation in Appendix H of the dictionary, this 
seems to be design intent, but it might be a bug.

-- 
Raul


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to