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))

No, it's not.

This works:
   erase<'y'
   y=: arctan(tand 40.5)%(cosd(_75-_73.5))

If you like, you could define:
   freey=: ". bind 'y=:y' ::(erase bind (<'y'))
   freex=: ". bind 'x=:x' ::(erase bind (<'x'))
   freexy=: (,.'') [ [ freey freex

And then you could put freexy'' in any routine which
needs to give x or y a global value.

-- 
Raul

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to