Community discussions

just joined
Topic Author
Posts: 1
Joined: Wed Sep 26, 2018 4:34 pm

Problem with string concatenation

Wed Sep 26, 2018 4:39 pm

[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.
You do not have the required permissions to view the files attached to this post.
User avatar
Member Candidate
Member Candidate
Posts: 217
Joined: Thu Sep 21, 2017 7:16 pm
Location: Iraq, Ninavah

Re: Problem with string concatenation

Wed Sep 26, 2018 9:39 pm

what do you want get from Wireless registration table ?

Who is online

Users browsing this forum: No registered users and 10 guests