Wow that worked, thanks. So I guess the first value sets the type, whereupon it's OK to append an integer to a string, but not OK to add a string to an integer ... Cheers, Kingsley. On Thu, 2021-05-13 at 16:24 -0400, Ovidiu Sas wrote: > Try the other way around: > $dlg_val(dstSeq) = "" + $var(tmp); > > -ovidiu >