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

getPrompts

getPrompts( 
) 
=> l_strings

Description

Returns the current values of the first level and second level prompt text strings, respectively.

The first prompt text string is the first level prompt that represents the topmost top-level prompt, while the second one indicates the second level prompt which is used whenever a nested top-level is entered.

Arguments

None

Value Returned

l_strings

The current values of the first level and second level prompt text strings. The result is a list where the first element is the first level prompt and the second element is the second level prompt specified by setPrompts.

Examples

Default prompts for the SKILL interpreter and CIW, respectively.

skill> getPrompts()
("> " "<%d> ")
CIW> getPrompts()
("> " "> ")

Related Topics

Environment Functions

getLogin


Return to top
 ⠀
X