%localstring keyword (SDL script)
This keyword declares a local variable as a string. A local variable can exist only in the context of the generation template for which the local variable is declared.
* 
After declaring a local variable, you can set its content through the %setlocalvar keyword and read its content through the %getlocalvar keyword.
Syntax
%localstring "<name of variable>"
In this example, the code declares a local string variable named strStereotypeName.
%localstring "strStereotypeName"
Was this helpful?