Chris;

Not to belabor the point .. here is where my confusion started.

test=:3 : 0 
x=:3+4
y=:1+2
ax's
)
   load 'c:\j601\temp\6.ijs'
   test ''
|domain error: test
|   y    =:1+2

completes with x but is an error for y 

Then allows both x and y

   y=:1+2
   y
3
   x,y
7 3

Anyway, I will stop using x and y as variables and keep with x. and y. as
arguments ... for my mental health.

David

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Chris Burke
Sent: Tuesday, April 11, 2006 6:23 PM
To: Beta forum
Subject: Re: [Jbeta] x and y variables


David Vincent-Jones wrote:
> I now understand that the use of 'x' and 'y' as assigned variables is 
> totally removed from J601 ...
> 
> domain error: ToTM
> |   y    =:arctan(tand 40.5)%(cosd(_75-_73.5))

Just to clarify - y can be assigned locally, but usually not globally since
it already has a local definition, and J6 does not permit both local and
global assignments.
----------------------------------------------------------------------
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