Migration Guide : E. Features Introduced in OpenROAD 6.2 : Changes to Existing Features : AppSource Class Gets New Attribute and Methods
 
Share this page          
AppSource Class Gets New Attribute and Methods
The AppSource class is the source definition of an application. It gains the following new attribute:
TaggedValue
Data Type: array of TaggedValue
4GL Access: R
Defines an array of tagged values
The following methods are new:
FetchTaggedValue
Returns the TaggedValue associated with the supplied tag name or row number in the TaggedValues array of this application
FindTag
Returns the index of the specified tag in the TaggedValues array of this application
GetTaggedValues
Returns an array of all the TaggedValues that either have this tag or whose tags begin with the tag plus a delimiter
GetTagText
Returns a string containing the text of the TaggedValue associated with the supplied tag name or row number in the TaggedValues array of this application
GetTagValue
Returns a StringObject containing the text value associated with this tag name or row number in the TaggedValues array of this application
RemoveTaggedValue
Removes a tagged value identified by its index or tag name from the application's TaggedValues array
SetTaggedValue
Adds a TaggedValue to the application's TaggedValues if the tag is not already present, or amends the TaggedValue if it is present
For more information, see the Language Reference Guide.