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 > %numeric keyword (SDL script)
  
%numeric keyword (SDL script)
This keyword declares a global variable as a numeric.
Use this keyword only in the Generate.sdl template.
* 
After declaring a global variable, you can set its content through the %setvar keyword and read its content through the %getvar keyword.
Syntax
%numeric "<name of variable>"
In this example, the code declares a global numeric variable named nHasStereotype.
%numeric "nHasStereotype"