pcUserAdjustParameters
pcUserAdjustParameters(p_port) =>t / nil
Description
A user-defined procedure called by the compiler before it processes any objects. The procedure is normally used to generate code to transform user-specified parameter values, such as to snap them to an even value. Parameters can then be referenced as variables in the SKILL code that is generated.
Arguments
Value Returned
Examples
procedure( pcUserAdjustParameters( port )
; stretch implemented by 2 stretch control lines ⇒
divide parameter value by 2
fprintf(port "ch_width = ch_width/2\n")
)
Generates a call to a SKILL procedure to divide the ch_width parameter value by 2.
Return to top