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 the first condition being greater than the second condition in a conditional statement.
%if %getvar "MyNumber" 0 %then
"MyNumber is positive"
%else
%if %getvar "MyNumber" < 0 %then
"MyNumber is negative"
%else
"MyNumber is zero"
%endif
%endif