asiFormatDesignVarList
asiFormatDesignVarList(o_session) =>t/nil
Description
Formats and prints the design variable statements to the design variable file. This routine first prints the string.PARAM followed by the design variables in name=value pairs. The design variables are obtained by calling asiGetDesignVarList.
Arguments
Value Returned
Examples
The following example shows how to overload the asiFormatDesignVarList function:
defmethod( asiFormatDesignVarList ((session asiAnalog_session) fp )
let( ( (varList asiGetDesignVarList( session ))
mappedVarList mappedVar)
when( varList
mappedVarList = asiGetDesignVarMappedList( session )
artFprintf( fp ".PARAM")
foreach( var varList
mappedVar = assoc( car(var) mappedVarList)
if( mappedVar
artFprintf( fp " %s" (cadr mappedVar ))
artFprintf( fp " %s" car( var ))
)
unless( (artBlankString (cadr var))
artFprintf( fp "=%s" (cadr var)))
)
artFprintf( fp "\n" )
)
t
)
)
Return to top