× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



>Is there a way (command to put in a macro -
>or some other way to assign to a key) to
>tell find and replace to replace this
>occurrence and find the next occurrence?

<esc> to get to the command line, then:
change asis "int"integer"bottom""?

will change int to integer from the current position to the bottom,
prompting each change.  See the help at
http://localhost:49213/cgi-bin/vahwebx.exe/vahelp/va400/Extract/0/lpex/ref/r
lchangc.htm#top (V5R1)  I did Help, Editor Reference, Commands Summary,
change.

For those without web access, the double quotes are delimiters, and delimit
the start of each argument.  I could just have easily used commas:
change asis ,int,integer,bottom,1,?

The parameters are:
asis/any - case sensitivity
int - the "find" string
integer - the "replace" string
bottom - an editor command that determines the lines affected
1 - number of changes allowed in each line
? - prompt for each change before it happens

>Also have a problem that in a browse only
>file you can not do a find because the
>Find/Replace dialog box won't open in a
>browse session.

find works from the command line, and you'll love regular expressions!
  --buck


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.