By "simple" I meant order of complexity.
Of course you would want just to use regular
expressions to look for y. which will not be
part of try. for_y. or "That's easy."
 
One of the objections to y.->y was that it
would take place of user names y, x, etc,
So to make this reversible, you need also to
replace those names with something else,
like X, Y or nx, ny, etc,
 


----- Original Message ----
From: Lorin Lund <[EMAIL PROTECTED]>
To: Programming forum <[email protected]>
Sent: Sunday, June 25, 2006 2:58:48 PM
Subject: [Jprogramming] prep for move to j6 (was: Grid API Usability)


Randy MacDonald wrote:

> Hello Donna;
>
> That "y. -> y" is a simple search-and-replace is something I didn't 
> feel in my gut.  If that was your experience, fine. The 
> irreversibility of that kind of change made me hesitate to consider it.

Using a simple search-and-replace "y. -> y" didn't work for me because I 
use "try."
I used this sequence of search-and-replace:

try. -> tryXX.
y. -> y
tryXX. -> try.

Other possible problems involve for loop indices.
  I.e. "for_xx." would be affected by "x. -> x"

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