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

needNCells

needNCells( 
{s_cellType | S_userType} 
x_cellCount 
)
=> t / nil

Description

Ensures that there is enough memory available for the specified number of SKILL objects (cells).

If necessary, more memory is allocated. The name of the user type can be passed in as a string or a symbol, however internal types like list or fixnum must be passed in as symbols.

Arguments

s_cellType

Objects of type cellType.

S_userType

Objects of type userType.

x_cellCount

Number of objects.

Value Returned

t

Enough memory is available.

nil

Enough memory is not available.

Examples

Guarantees there will always be 1000 list cells available in the system.

needNCells( 'list 1000 ) 
=> t

Related Topics

Core Functions


Return to top
 ⠀
X