%matchcase keyword (SDL script)
This keyword is used with the %if keyword to evaluate whether the case and characters of a string match the case and characters of another string. If the two strings match, True is returned.
Syntax
%if %matchcase (<text1> == <text2>) %then...
where <text1> and <text2> are text strings or the return of a property or variable. For example:
"<string text>"
%custom "<name of property>"
%getvar "<name of variable>"
For more information about the automation interface names of property names, see Object Attributes and associations under the Automation Interface chapter of the Integrity Modeler Help, and then click the required item type.
%if %matchcase (%custom "C++ Name" == %getlocalvar "strUnscopedCppName") %then
%setparam "nIsConstructor" = 1
%endif