%param keyword (SDL script)
The %param keyword is used with the %load keyword to pass a parameter to a called generation template. The %param keyword specifies a local variable to pass to the called generation template.
* 
The called generation template can get the value of the passed parameter through the %getparam keyword and set the value of the passed parameter through the %setparam keyword.
Syntax
%load "<template file name>" [%param" <parameter 1>" %param "<parameter 2>" etc.]
In this example, the HasStereotype.sdl is called and passed two parameters, that is the strStereotypeName and nHasStereotype local variables.
%localstring "strStereotypeName"
%localnumeric "nHasStereotype"
%load "HasStereotype.sdl" %param "strStereotypeName" %param "nHasStereotype"
Was this helpful?