Page 1 of 1

FIND and LOCATE

PostPosted: Wed Jul 08, 2009 11:12 pm
by chetan_007
Hi,

Although we use FIND and LOCATE to check a word eg:- F 'write' or L 'write'

What's the difference between FIND and LOCATE?
Although both does the same function?

Plz let me know.

Re: FIND and LOCATE

PostPosted: Wed Jul 08, 2009 11:28 pm
by MrSpock
The LOCATE command is used to display a specific line in the data being
edited. It can be abbreviated LOC or L.

Command ===> loc 450 displays line 450.
Command ===> loc .zfirst displays the first data line.

The designated line will be displayed on the first data line of the display.

LOC .zfirst can be entered to scroll to the top of the data.
LOC .zlast can be entered to scroll to the bottom of the data.

The FIND command is used to find and display the next occurrence of a
character string in the data being edited. It can be abbreviated F .
Command ===> find xxx finds the next "xxx".