McIDAS-X User's Guide
Version 2022.1

[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]


SEE

Lists the text in an LW file.


Format

SEE file nchars [keywords]


Parameters

file

name of the LW file to list

nchars

number of characters per line (default=80)


Keywords

BEGin=

first line number to list; if negative, the number of the first byte to list (default=0)

LASt=

number of lines from the end of the file to list

NLInes=

number of lines to list (default=500)

 

ALL

lists all lines

STEp=

number of lines skipped between the lines listed; if negative, it steps backwards; this keyword only works on 80-character ASCII LW files (default=1)


Remarks

Command SEE attempts to list both LW files (80-character records with no linefeeds) and text files (up to 80 characters with imbedded linefeeds). However, the keywords may not work properly with text files.

You can use the ADDE command READ in place of SEE.

Examples

SEE LOGON

This entry lists file LOGON starting at line zero (the beginning) stepping forward one line until it reaches the end of the file.

SEE MYFILE BEGIN=25

This entry lists the text in LW file MYFILE beginning with line 25.

SEE SCHEMA BEGIN=99 NLINES=15 STEP=-1

This entry lists file SCHEMA starting at line 99, stepping backwards by one line for 15 lines.


[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]