Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

adpnlSetEnv

adpnlSetEnv(
t_variable
g_value
[ ?domain s_domain ]
)
=> t / nil

Description

Sets a variable in the specified domain. If the environment variable does not exist in the domain, a variable is created.

Arguments

t_variable

Name of the variable.

g_value

Value of the variable.

?domain s_domain

Domain in which the variable is present. By default it is ‘adpEnvNL.

Value Returned

t

Returns t if the variable value is set.

nil

Returns nil if the variable value is not set.

Example

adpnlSetEnv('adpEnvPinsPerNetThreshold 200 ?domain 'adpEnv)

In the above example, the adpEnvPinsPerNetThreshold variable is set in the 200 domain.


Return to top
 ⠀
X