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 > Keywords > %while keyword (SDL script)
  
%while keyword (SDL script)
The %while keyword starts a while loop and specifies the condition to be evaluated.
Syntax
%while <condition>
<set of statements for when condition is satisfied>
[%exit]
%endwhile