You seem to be asking about this?

   (RGB`RBG`GRB`GBR`BRG`BGR)
┌───┬───┬───┬───┬───┬───┐
│RGB│RBG│GRB│GBR│BRG│BGR│
└───┴───┴───┴───┴───┴───┘
   RGB=:3
   (RGB`RBG`GRB`GBR`BRG`BGR)
|domain error
|   (    RGB`RBG`GRB`GBR`BRG`BGR)

Note that you can achieve approximately the same error this way:

   3,;:'RBG GRB GBR BRG BGR'
|domain error
|   3    ,;:'RBG GRB GBR BRG BGR'

What kind of result were you expecting?

-- 
Raul


On Wed, Oct 14, 2015 at 6:36 AM, Linda A Alvord <[email protected]> wrote:
>    (ABC`BCD`CDE)
>
> ----T---T---┐
>
> │ABC│BCD│CDE│
>
> L---+---+----
>
>    (RGB`RBG`GRB`GBR`BRG`BGR)
>
> ----T---T---T---T---T---┐
>
> │RGB│RBG│GRB│GBR│BRG│BGR│
>
> L---+---+---+---+---+----
>
> erase names ''
>
> load 'viewmat'
>
> BIN=:#:i.8
>
> perm=: 13 :'(i.!y)A.i.y'
>
> N=:perm 3
>
> NAME=:(perm 3){'RGB'
>
> RGB=:255*#:i.8
>
> SIXPALS=:<"2>|:<"1 N{"2 1 RGB
>
> FSIXPALS=:<"2><|."2>|:<"1 N{"2 1 RGB
>
> erase names '(','(,NAME,',')',')'
>
> 0 0 0 1 0 0 0
>
> (RGB`RBG`GRB`GBR`BRG`BGR)
>
> |domain error: scriptd
>
> | ( RGB`RBG`GRB`GBR`BRG`BGR)
>
> |[-9] c:\users\user\j804-user\temp\34.ijs
>
>
>
> ----------------------------------------------------------------------
> 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