On 23 Sep 2013, at 19:44, Ben Fritz wrote:
On Monday, September 23, 2013 11:54:27 AM UTC-5, Andrew Long wrote:
What I thought of was to use a global operation limited to the 'for' and the
matching 'repeat', and what I tried was this:-
On Monday, September 23, 2013 11:54:27 AM UTC-5, Andrew Long wrote:
What I thought of was to use a global operation limited to the 'for' and the
matching 'repeat', and what I tried was this:-
:/^\(\s\+\)for\s\+\(\a\k*\)\s\+to.*/,/^\1repeat/g/\2/s/\2/i/g
Only I fell at the first
I have a program with a number of constructs like this:-
for subscriptI to count someThing do
something( subscriptI ) :=
repeat
@...
begin
for subscriptJ to count someThingElse do
someThingElse( subscriptJ ) :=
repeat
end
And I ant to replace all the different subscripts