Product Documentation
Virtuoso Parameterized Cell SKILL Reference
Product Version IC23.1, August 2023

pcExprToProp

pcExprToProp(
txfl_argument
) 
=> l_typeValue / nil

Description

Evaluates the argument and returns a list containing the data type and value of the result.

Arguments

txfl_argument

String, integer, floating-point number, list, or combination of data types forming a valid expression, that specify the argument.

Valid Values: String, integer, floating-point number, list, or a combination of data types that form a valid expression.

Value Returned

l_typeValue

List containing the following two elements: data type and value, where the data type can be a string, integer, or floating-point number.

nil

Returned if txfl_argument has an invalid data type or contains an invalid expression.

Examples

a = 1.5
b = 1.6
pcExprToProp(a + b + 3)    => ("float" 6.1)

Returns the data type (floating-point number) and value (6.1) of the result of evaluating the specified argument.

pcExprToProp( '( 2 3 ) ) => "ilList" (2 3)

Returns the data type (list) and value (a list containing two numbers, 2 and 3).


Return to top
 ⠀
X