Data Structure Element
While traditional RPG allows you to access data structure elements without referring to the data structure, Encore RPG allows data structure element names to be “hidden” in the data structure, and accessed via the “.” Character.
Remarks
If a data structure element is an array, or if a control’s property is an array property, individual elements of these arrays can be accessed using the [ ] characters.
Example
MOVE “A” MyDS.Element1
MyDS.Element2= 3
You can also access the properties of a control.
MOVE *ON IOField1 . FontBold
MOVE *OFF IOField2 . FontItalic