SessionObject Attributes: SessionObject.CallSystemStatus - Contains the exit status code of the process executed by the last call system statement. This attribute provides only the actual status if call system is used while the SessionObject's ProcessWait attribute is set to TRUE; otherwise, the value is undetermined.

Contains the processed script line number of the frame, procedure, or method currently being executed

LocalScope

References the scope of the frame, procedure, or method currently being executed

Name

Contains the name of the frame, procedure, or method currently being executed

Parent

References the frame, procedure, or method that called the currently executing frame, procedure, or method.

Note:For more information about these attributes, see the The parent of the starting component is the application itself, which does not derive from ProcExec. Using the starting component's Parent attribute to access this will result in an error.

Specifies whether to start each trace message in the trace window and log file with the timestamp in square brackets.

Possible values are:

TRUE – Specifies that each trace message is preceded with the timestamp

FALSE – Specifies that trace messages are not timestamped

Bodo Bergmann

OpenROAD UK Sprint - Sept 2009

Right Click Import - Support Right Click Import of Components and Applications in the Workbench IDE. You can now open the Import an Application dialog by right-clicking in the Applications portlet and selecting Import from the context menu.

You can also open the Import a Component dialog by right-clicking in the Components portlet and selecting Import from the context menu.

Sean Thrower

OpenROAD UK Sprint - Sept 2009

Creating CompositeFields in FrameEditor - In previous versions of OpenROAD Workbench, you could create a composite field only by inserting a ScalarField and then grouping it into a composite field. You can now insert composite field types directly from the Frame Editor's floating menu bar by clicking Insert, Field, CompositeField.

Portlet Blocking Behavior - Make CALLFRAME statements issued within portlet guest scripts conform with existing blocking behavior or a new and more intuitive blocking behavior that is consistent with what is documented. This involved the creation of a new environment variable to control the behavior.

II_W4GL_PORTLETBLOCKING_DEFAULT

Specifies the default portlet blocking behavior for applications started with this environment variable set. The setting will be used for all CALLFRAME statements issued from within a portlet script.

This environment variable is checked only at application startup; therefore, changing its value within an application has no effect. Valid values include:

ToString Core Library Function - A new 4GL procedure ToString was added to the core. The ToString function is intended for use with the new StringObject methods Split and Join. ToString takes a varchar as a parameter and returns a StringObject containing the text of that varchar. An optional StringObject parameter enables the caller to provide the StringObject to be returned.application included with all OpenROAD applications.

Sean Thrower

April 2009

Array Find for Subclass Attributes - ArrayObject.Find now searches on all attributes that may be present in the array, including attributes of subclasses of the declared array type.

Sean Thrower

August 2009

XML: New Environment Variables - There are four new environment variables for all platforms related to the XML project:

If this environment variable is not set, or is set to any other value, EXP format will be used for export.

II_W4GL_EXPORT_INDENTED

Specifies whether XML indentation is included in export files created by the ExportApp utility or “w4gl backupapp out” command. Valid values are:

TRUE – Specifies that XML element indentation is used in the XML export file. Including indentation can increase export file size by 50% over OpenROAD proprietary ASCII format.

FALSE (default) – Specifies that XML element indentation is not used. Whitespace characters (tabs, spaces, newlines) are not included. Therefore, XML elements are not separated onto different lines, and subnodes are not indented in a hierarchy.

If this environment variable is not set, or is set to any other value, EXP format is tried first. If import fails, XML format is then used.

II_W4GL_IMPORT_XSD

Specifies the full path to a URL or a file that contains the XML schema definition (XSD) for the XML export format. If this variable is set, the referenced XSD will be used for validation when importing applications or components from XML-based export files.

Bodo Bergmann

StringValue Support for Trim Fields in Property Inspector - The prior version of OpenROAD truncated text at 256 characters in free trim and box trim fields when displayed in the Property Inspector. This version of OpenROAD displays all text and lets you enter a text string longer than 256 characters for TextValues in the Property Inspector.

John Mahoney

Workbench ImportComp Utility - Using the ImportComp utility in Workbench, you can copy an individual component from a proprietary text file or XML file created previously by ExportComp into an application. To support this capability, Workbench now includes the Import a Component dialog.

Workbench ExportComp Utility - Using the ExportComp utility, you can copy an individual component from an OpenROAD application to a proprietary text file or XML file. To support this capability, Workbench now provides the Export Component dialog.

Changes to “w4gldev backupapp” Commands - In addition to proprietary OpenROAD export files (.exp), the “w4gldev backupapp” command can now import and export applications and components previously exported or imported to XML.

Changes to the Workbench ImportApp Utility = In addition to proprietary OpenROAD export files (.exp), the ImportApp utility can now import applications previously exported to XML.

Changes to Methods - New parameters added to the following methods:

AppSource.ExportApp

AppSource.ImportComp

CompSource.ExportComp

ArrayObject.Find

Array Class - A new system class Array with one attribute was added.

Future Enforcement of Read-only and Read-write-once Attributes - Setting the value of read-only (R) attributes and resetting read-write-once (RW1) attributes in the runtime code is not supported. We are reviewing each attribute to determine the rare case of whether it may be set or reset, in which case the documentation will be amended; in all other cases, the setting will be enforced. Such enforcement will be introduced as soon as the next release of OpenROAD.

Package Query Tool as an OpenROAD demo application

Durwin Wright

Allow the installation of different OpenROAD Development/Runtime releases on the same machine.