Workbench User Guide : 14. Adding Other Components to Your Application : Variable Types
 
Share this page                  
Variable Types
OpenROAD variables contain or point to the data that an application manipulates. This data can be displayed to the user or used solely in scripts and procedures. The following are the various types of variables:
Simple Variable
Is a single data item with only one value
Reference Variable
Is a pointer to an object of a specific class
Array Variable
Is a named set of rows, all of which are reference variables that point to objects of the same class
Macro Variable
Is a variable whose value is substituted by the OpenROAD preprocessor into the 4GL source code prior to compilation