9. Modifying Vision Code : Including Source Code Processing Commands
 
Share this page                  
Including Source Code Processing Commands
Process the source code files Vision generates by specifying commands for Vision to execute after the code is generated. For example, you can check the generated code into a source code library or run your own post-processor over the generated code.
To include source code processing commands, define the logical or environment variable II_POST_4GLGEN to the name of any executable command. After Vision has generated the code for a frame successfully, it checks to see whether II_POST_4GLGEN is defined.
If the logical is defined, Vision then executes the command to which you have defined II_POST_4GLGEN. Vision passes to this command a single argument--the full path name of the 4GL source file that Vision has generated.
Important!  Your post-processing code can require alterations to work with subsequent Vision releases.