Thanks Bill, the new version works as expected.
With this, I have closed all 3 questions I had asked.
Thanks for the support from the forum members!!
~Yuva
On 1/2/07, bill lam <[EMAIL PROTECTED]> wrote:
sorry! it was my mistake.
I should write as Raul suggested or
cc =: 3 : 0
18!:3 <y NB. create a new boxed locale
('create_', y, '_') =: cocreate
('destroy_', y, '_') =: codestroy
conew y
)
Miller, Raul D wrote:
> Yuvaraj Athur Raghuvir wrote:
>> cc =: 3 : 0
>> 18!:3 <y NB. create a new boxed locale
>> create_y_=: cocreate
>> destroy_y_=: codestroy
>> conew y
>> )
>
> Change create_y_ to create__y
>
> create_y_ is a name in the locale y.
> create__y is a name in the locale referred to by the value of y.
>
> Likewise for destroy.
>
> My earlier comment about instances is irrelevant in this context.
>
> FYI,
>
--
regards,
bill
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm