:local num 00 ;
for p from=0 to=99999 do={
/interface pppoe-client set pppoe-out1 comment=("SNA".$num+$p)
:delay 2
}
In a script like this, how can the content of the comment be changed to something like SNA00000, SNA00000 1, until SNA0099999. This way? Can't we just use addition directly, can we only concatenate characters?
for p from=0 to=99999 do={
/interface pppoe-client set pppoe-out1 comment=("SNA".$num+$p)
:delay 2
}
In a script like this, how can the content of the comment be changed to something like SNA00000, SNA00000 1, until SNA0099999. This way? Can't we just use addition directly, can we only concatenate characters?
Statistics: Posted by rosa — Wed Jan 31, 2024 4:56 am