If you mean ArchiCAD autotext: you cannot do any GDL-operation with autotext. You can only use autotext as variable value, parameter value and e.g. in a TEXT2 command as the text value.
But you can use the autotext values in arrays as well, e.g.
DIM q[]
q[1] = "<Landkreis>"
TEXT2 0, -3, q[1]
Autotext must be in angle brackets and quotation marks if variable.
Jochen Suehlo . AC12-27 . MAC OSX 14.4 . WIN11
GDL object creation:
b-prisma.de