Dear Huugh,

Please take a look at the following Hansl code:

<hansl>
open australia.gdt

loop i=1..3
    string name = varname(i)
    adf 4 @name 
endloop
</hansl>

I think it could help you solving your problem.

Best regards,
Henrique Andrade