RLOC - Repeat Previous Locate Command

Syntax


RLOC

[ REVERSE ]


Operands


REVERSE

Causes the search direction to proceed opposite of the original LOCATE command.  


If the original direction was forwards (due to a FIRST or NEXT operand, or by an implied NEXT operand) RLOC REVERSE will search backwards.  


If the original direction was backwards (due to a LAST or PREV operand) RLOC REVERSE will search forwards.


Description


RLOC repeats the locate requested by the most recent LOCATE command.


You can use this command to repeatedly locate other occurrences of the locate request. Note: RLOC is normally directly assigned to a defined keyboard key, although you can issue it directly from the command line.


You may find it convenient to map RLOC to a function key, and RLOC REVERSE to the same function key with a modifier key, such as Shift, though any desired keys may be chosen.


The intent of the REVERSE option is to allow you to start a LOCATE operation in one direction, and then "change your mind" and search in the opposite direction, say, in case you passed up a line of interest and now you wish to 'go back' and locate it again.


The RLOC command works the same way as it does in IBM ISPF.  Many users will find the new SPFLite command RLOCFIND to be more useful than RLOC.  See RLOCFIND - Repeat Previous Find or Locate Command for more information.


Created with the Personal Edition of HelpNDoc: Easy EBook and documentation generator