Waveset assigns a scope to all <Variable> elements when the element is declared. If you do not assign a value to the scope attribute, Waveset assigns it a value of local, which means that the variable can be accessed only within the XPRESS section that it is declared in.
Additional Variable attributes that define scope include:
input – Declares that the <Variable> element has local scope and that the value can be initialized by the caller.
output – Declares that the <Variable> element has local scope but can be returned to the caller.
external – Declares that the <Variable> element has non-local scope – that is, assignments to this variable will result in assignment to this variable in the scope it was first declared in.