Language Reference Guide : 4. System Classes : CompSource Class : DataType Attribute
 
Share this page                  
DataType Attribute
Data Type: varchar(65)
4GL Access: RW1
The DataType attribute is applicable only to frame and procedure components. It contains a string that represents the data type associated with the return value of the component. The data type can be any appropriate data type, either a simple data type or a class name.
The DataType string can contain a fully qualified name, with the included application name of the variable. For example, OtherApplication!AddrClass.
When you create a frame or procedure using Workbench, OpenROAD sets this attribute automatically. When you create a frame or procedure dynamically, you must set this attribute once. OpenROAD checks its legality when the frame or procedure is compiled.