Try erase the definitions first, eg erase 'x y' On Dec 19, 2017 12:54 AM, "Henry Rich" <[email protected]> wrote:
> You can set them, but you must use a locative to do so (i. e. x_r_ =: 5). > It is a domain error to make a public assignment to a simple name that is > privately defined, and y(x etc.) are privately defined at the beginning of > execution of an explicit definition. > > Henry Rich > > On 12/18/2017 11:31 AM, David Lambert wrote: > >> Cannot set global names x and y in different locale from that in which >> the verb is defined. Explain please? Thank you. >> >> coname'' >> ┌────┐ >> │base│ >> └────┘ >> >> run=: 3 :0 >> coerase<'r' >> coclass'r' >> ".((,~,&(,Alpha_j_,.' '))''''),'=: 0' NB. reset the registers >> coname'base' >> program=. y >> ) >> >> run'' >> |domain error: run >> | 'A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d e f g h >> i j k l m n o p q r s t u v w x y z ' =:0 >> >> >> names_r_'' >> A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d e f g h i j k >> l m n o p q r s t u v w >> >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm >> > > > --- > This email has been checked for viruses by AVG. > http://www.avg.com > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
