Problem with string concatenation

[code} :local inter [/interface wireless registration-table print detail as-value]; :local iOut “”;:local
chiave; :local valore;:foreach k,v in=$inter do={:set chiave $k; :set valore $v ;:put $chiave; :put $valore;:set iOu
t ($iOut . “key” . $chiave . “=” . $valore);};:put $iOut;[/code]

Hi when I lunch the code up there and I try to display the result it gaves me an empty string and I don’t understand why. If I delete the $valore variable the string is printed correctly do you know if this is a well known bug? Thank you for your help.
problema mikrotik.jpg

what do you want get from Wireless registration table ?