Yet better alternative is

   map_jmf_ (cofullname__myloc'PARA');parafile;parafile;0


--- bill lam <[EMAIL PROTECTED]> wrote:

> Did it work? I meant if this line called twice
> 
>    map_jmf_ 'PARA__myloc';parafile;parafile;0
> 
> will it complaint noun already mapped?
> 
> Alternatively, you may try de-reference before passing it to fullname, eg.
> 
>    map_jmf_ ('PARA_', (>myloc),'_');parafile;parafile;0
> 
> Xu Zuoqian wrote:
> > When writing script using OOP style,I  need to map a jmf file to an
> > object field.The code is
> > myloc_z_=:coname ''
> > map_jmf_ 'PARA__myloc';parafile;parafile;0
> > But  the jmf library gives a 'bad noun name' error.I change 2 places
> > to handle this indirect localtive case and avoid the assertion.
> > 1. change the 2nd line of  verb "fullname" to
> > t,(('_'~:{:t)*.(0=+/'__'E. t))#'_base_'
> > 2. change the 17th line of  verb "map" to
> > 'bad noun name'assert (('_'={:name)+.(0<+/'__' E. name))*._1=nc<name
> > It seems working.
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> > 
> 
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
> 



      
____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to