The texts interface acts as a parent object for both Linked Texts and Local Texts. Individual Texts can be accessed using their Text Reference, e.g. texts.myNamedText.
To get the value of a Text the getText() function is used, e.g. texts.myNamedText.getText().
The value of a Text can also be set programmatically using the texts.myNamedText.setText(textValue) function.