Community discussions

MikroTik App
 
CTSsean
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 61
Joined: Fri Sep 15, 2017 12:56 pm

Unable to use variables substitution within an array

Wed May 09, 2018 10:10 pm

Another rant...

Just discovered that when trying to use a variable within an array with keys, it does a comparison instead.

example: :global "newAddressListArray" {$localserver="OnPremiseServer"}
or
example: :global "newAddressListArray" {"$localserver"="OnPremiseServer"}

comes back "false" instead of inserting the value of $localserver into the array.

Who is online

Users browsing this forum: raiser and 69 guests