Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > SDL script for generating code > Operators > == operator (SDL script)
  
== operator (SDL script)
This operator tests for equality in a conditional statement.
You can use = instead.
In this example, the text 'static ' is generated only if the Access property equals 'private'.
%if %custom "Access" == "Private" %then
"static "
%endif