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