ROS Version: 6.34.3 (stable)
/interface ethernet
:put [:typeof [get ether1 tx-bytes]]
This used to produce an integer as shown in this documentation, but now it's a three-part array.
http://wiki.mikrotik.com/wiki/Manual:Interface/Ethernet
Can anyone help with the documentation/definition for the output
Actually, its not a three part array, this is an array with a single item string.
/interface ethernet
:foreach n,v in=[get ether1 tx-bytes] do={ :put [:typeof $v]; :put ("$n-->$v") }
Output:
str
0-->4 005 558
The string has spaces...?