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 > %warning keyword (SDL script)
  
%warning keyword (SDL script)
This keyword outputs a warning message to the ACS log.
Syntax
%warning "<message>"
In this example, this text is added to the SDL script:
%warning "Invalid data type"
When processed for a Class named Class1, the following message is added to the log or Errors.log file:
WRN:Class : Class1 : Invalid data type