Feature requests

I don’t think it’s a matter of implementing useless things or not,
but a question of knowing how to use what already exists


{
:local localvars [:toarray “”]
:local varname “newVar”
:set ($localvars->$varname) “test”

:put ($localvars->“newVar”) ; # the same as on previous comment, is illogic, but for example…

previous :put wire “test” on terminal

:put ($localvars->$varname)

previous :put write “test” on terminal

:local testip “newipvar”
:set ($localvars->$testip) 127.0.0.1
:put “Local variable $testip value is $($localvars->$testip) and the type is $[:typeof ($localvars->$testip)]”

previous :put write “Local variable newipvar value is 127.0.0.1 and the type is ip” on terminal

}
And if the variable must be global, just create

:global globalvars [:toarray ""]

etc.
Or use another method:
http://forum.mikrotik.com/t/concatenate-values-to-create-variable-name/151793/2