Product Documentation
Cadence User Interface SKILL Reference
Product Version IC23.1, September 2023

hiSetViewfile

hiSetViewfile(
w_windowId 
t_fileName
[ g_deviceMode ]
) 
=> t / nil

Description

Reads a file and displays its contents in a viewfile window that has already been created.

Arguments

w_windowId

Window in which you want to display the file

t_fileName

Name of the file to be read and displayed

g_deviceMode

Specifies the method that is to be used to load the text file. You can choose from the following methods: LoadAll or Sparse. For more information, refer to Text Device Mode.

Value Returned

t

The file is read and displayed.

hiSetViewFile returns t if t_fileName is null/not found.

nil

w_windowId is invalid.

Related Topics

Functions of Viewfile Window


Return to top
 ⠀
X