gdmResetSpecList
gdmResetSpecList(q_gdmSpecList) =>t / nil
Description
Resets the gdmSpecList so that you can obtain gdmSpec objects from it with successive calls of the gdmNextFromSpecList function.
Use this function before you use the gdmNextFromSpecList function. If you reset the gdmSpecList and then call gdmNextFromSpecList, the first gdmSpec object in the gdmSpecList is returned.
Arguments
Value Returned
Examples
Use gdmResetSpecList and gdmNextFromSpecList in the following way:
specList = gdmCreateSpecList()
spec = gdmCreateSpec( "mylib" "topcell" "schematic" nil "CDBA" )
gdmAddSpecToSpecList( spec specList )
gdmResetSpecList( specList )
while( nextSpec = gdmNextFromSpecList( specList )
println( gdmInspectSpec( nextSpec "CDBA" ))
)
Related Topics
Return to top