file_skip_lines

Synopsis

file_skip_lines (file, offset, nlines)

Description

The file_skip_lines object returns the offset in bytes of a location in file after skipping nlines in an ASCII file .

Parameters

file

Object of type FILE.file that identifies the file that will be accessed. Note that this is not a string holding the filename. See the example.

offset

int. Specifies, in bytes, an offset from the beginning of the file.

nlines

int. number of lines to skip

Example

v/dv_examp/file_ucd.v
v/dv_examp/file_unif.v

File

v/file.v

See also related modules

File Objects Overview
file_array_ascii
file_find_expr
file_obj
file_obj bin
file_scalar_ascii
file_skip_lines
file_skip_words