The assignment needs to be done in the locale o.

   do__o 's=:t@:t'


   s__o

┌─┬──┬─┐

│t│@:│t│

└─┴──┴─┘

   s__o 3j4

12j16


On Thu, Mar 13, 2014 at 6:26 AM, Pascal Jasmin <[email protected]>wrote:

> this seems to work ok so far, for embedding into another expression:
>
> 's_1394_'~@:+:
>
>
> ----- Original Message -----
> From: Pascal Jasmin <[email protected]>
> To: "[email protected]" <[email protected]>
> Cc:
> Sent: Thursday, March 13, 2014 1:55:12 AM
> Subject: [Jprogramming] alternate locale calling convention
>
> This is turning out to be surprisingly difficult:
>
> ] o=. 18!:3 ''
> ┌────┐
> │1394│   NB. numbered locale
> └────┘
>  t__o =: +:
>  s__o =: t@:t
>
> I would like to refer to the verb s_1394_ without it being converted to t@:t
> (because calling that expression outside of locale context is meaningless)
>
> the best I can do is : (skipping code to produce string version)
>
>  3 : ('s_1394_ y';':';'x s_1394_ y')
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> 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