Henry,
It is the difference in behaviour between 'foof' and 'goof' that's confusing.
Both of them use 18!:4 directly:
>       goof =: 3 : ('cocurrent f.''GOO''';'1+2';'empty 3')
>       NB. resets the locale to base (this result is unexpected)

>       foof =: 3 : ('cocurrent f.''FOO''';'1+2')
>       NB. leaves the locale set to FOO

Where can I find material that describes how locales behave?

Searching on 'locale' on the jsoftware website doesnt return much
that's helpful.
And the primer doesn't go into much depth regarding locale paths.
http://www.jsoftware.com/jwiki/Essays?action=fullsearch&context=180&value=locale&titlesearch=Titles

fyi - it was studying Oleg's 'sax.ijs' script that got me onto this track.
It contains:
saxclass_z_=: cocurrent@(3 : 0) f.
  coclass y
  coinsert 'psax'
  process=: process_psax_ f.
  y
)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to