The TEXT built-in data type provides a set of utility methods to manipulate TEXT data.
TEXT methods can be invoked with the variable, for example:
DEFINE t TEXT CALL t.writeFile("mydata")