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

Re: search



>  What is the "new CSE"???
> Dick

CSE is a new U2 routine which turns the native SEarch
command into a Circular SEarch. On a forward search, if
the search string is not found between the cursor
position and the end of file (EOF), the search continues
from the top of file (TOF); on a backward search, if the
string isn't found between cursor and TOF, the search
continues from EOF. In other words, CSE returns a "not
found" error if and only if the search string is not
present anywhere in the file, regardless of the direction
and starting point of the search.

The code (which will probably be further revised before I
add it to the Jumbo U2) can be found in my recent on-list
correspondence with Judith Davidsen.

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