Migration Guide : C. Features Introduced in OpenROAD 5.1 : Changes to Existing Features : Changes to Methods
 
Share this page          
Changes to Methods
Note:  For complete information about the following methods and their parameters, see the Language Reference Guide and the System Reference Summary.
AppSource.ExportApp Method
The AppSource.ExportApp method has three new parameters:
appsourceonly
Specifies that only application source information will be exported; no information about contained components will be included in the output
format
Specifies the format of the export file. Valid values are:
XF_EXP – Specifies the current export file format
XF_XML – Specifies XML export file format
XF_DEFAULT (default) – Specifies the export format specified by the environment variable II_W4GL_EXPORT_FORMAT (see Environment Variables)
metadata
Specifies that metadata attributes for applications should be included in the output (AlterDate, AlterBy, CreateDate, Creator). To specify this parameter, format must be set to XF_XML.
AppSource.ImportComp Method
The AppSource.ImportComp method has two new parameters:
format
Specifies the format of the import file. Valid values are:
XF_EXP – Specifies the current import file format
XF_XML – Specifies XML import file format
XF_ANY – Specifies that ImportComp should attempt import using the current export format file format first. If this fails because of a format error, importing from XML export format is executed.
XF_DEFAULT (default) – Specifies the import format specified by the environment variable II_W4GL_IMPORT_FORMAT (see Environment Variables)
metadata
Specifies that metadata attributes for components (AlterDate, AlterBy, CreateDate, Creator) should be used when reassigning attributes. To specify this parameter, format must be set to XF_XML.
ArrayObject.Find Method
The ArrayObject.Find method now searches on attributes of subclasses of the declared class of the array, not just on attributes of the declared class itself.
CompSource.ExportComp Method
The CompSource.ExportComp method has two new parameters:
format
Specifies the format of the export file. Valid values are:
XF_EXP (default) – Specifies the current export file format
XF_XML – Specifies XML export file format
metadata
Specifies that metadata attributes for applications should be included in the output (AlterDate, AlterBy, CreateDate, Creator). To specify this parameter, format must be set to XF_XML.