Product Documentation
Cadence SKILL Language Reference
Product Version IC23.1, November 2023

vi, vii, vil

vi( 
[ S_fileName ] 
) 
=> t / nil 
vii
[ S_fileName ] 
) 
=> t / nil
viii
[ S_fileName ] 
) 
=> t / nil

Description

Edits a file using the vi editor. This is an nlambda function. Edits the named file using the vi editor, and optionally includes (vii) or loads (vil) the file into SKILL after exiting the editor. These functions are just variants of ed, edi, and edl with explicit request for using the vi editor.

Arguments

S_fileName

File to edit. If no argument is given, defaults to the previously edited file, or temp.il, if there is no previous file.

Value Returned

t

The operation was successfully completed.

nil

The file does not exit or there is an error condition.

Examples

vil( "test.il" )
vi()

Related Topics

Environment Functions

deleteFile


Return to top
 ⠀
X