Product Documentation
Cadence SKILL Development Reference
Product Version IC23.1, June 2023

printstruct

printstruct( 
g_object 
) 
=> t

Description

Prints the contents of an association table or defstruct in a tabular format.

For debugging purposes, the printstruct function prints the contents of a structure in a readable form. It recursively prints nested structures.

Arguments

g_object

Defstruct or association table to be printed.

Value Returned

t

Contents of the defstruct or association table.

Example

defstruct(myStruct slot1 slot2) => t
struct = make_myStruct(?slot1 "one" ?slot2 'two)=> array[4]:3872800
printstruct(struct)
Structure of type myStruct:
slot1: "one"
slot2: two => t

Related Topics

Debug Functions


Return to top
 ⠀
X