[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: editing key



Morris wrote:

BF BC seb /,/XC >
RC BD 
CH 

A couple of thoughts, Morris:

1) There's no need to erase and rewrite the command line
on every pass through the loop. That's exactly what
happens in "BC seb /,/XC ... ". Your
code will run appreciably faster if you write the command
line once and keep on reusing it:

BC seb /,/XC ... 

Alternatively, if Xy3 compatibility isn't an issue, you
can do:

BX seb /,/Q2 ... 

(Note well: NOT "BX seb /,/Q2 ... "!)

2) Avoid unnecessary LaBel-GoLabel pairs (spaghetti
code); they slow down execution and make code hard to
read. A simple mod eliminates " ...
":

BF BC seb /,/XC >CH 
RC BD 

or, better still:

BF BC seb /,/XC )>RC BD 
CH 

--
Carl Distefano
cld@xxxxxxxx
http://users.datarealm.com/xywwweb/