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 > %endwhile keyword (SDL script)
  
%endwhile keyword (SDL script)
The %endwhile keyword specifies the end of a While loop.
For more information about While loops, see While loop (SDL script).
Syntax
%while <condition>
<set of statements for when condition is satisfied>
[%exit]
%endwhile