Ok, this works:

require'strings'
begin=:0!:0@rplc&(').';')')
begin 0 :0
  coclass 'example1'
        f=:3 :0
      (+/%#)y
    ).
    g=:3 :0
      (1 +f) y
    ).
)

Thanks,

-- 
Raul

On Mon, May 30, 2011 at 6:19 PM, Henry Rich <[email protected]> wrote:
> locale is reset when a named verb completes.  So you just need a proverb
> for 0!:0 .
>
> Henry Rich
>
> On 5/30/2011 5:27 PM, Raul Miller wrote:
>> Well.. here is my workaround for the problem with )
>>
>> require'strings'
>> 0!:0 rplc&(').';')')0 :0
>>
>> )
>>
>> That's a bit verbos, but with it I can use ). within the script.
>>
>> But that still does not deal with the issue of the locale when 0!:0 finishes.
>>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to