mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-08-04 02:04:45 +02:00
mod/inspectvar: use $PrettyPrint
This commit is contained in:
parent
eda75f0bbc
commit
150feac400
1 changed files with 2 additions and 2 deletions
|
@ -8,10 +8,10 @@
|
|||
|
||||
# inspect variable and print on terminal
|
||||
:set InspectVar do={
|
||||
:global CharacterReplace;
|
||||
:global InspectVarReturn;
|
||||
:global PrettyPrint;
|
||||
|
||||
:put [ $CharacterReplace [ $InspectVarReturn $1 ] ("\n") ("\n\r") ];
|
||||
$PrettyPrint [ $InspectVarReturn $1 ];
|
||||
}
|
||||
|
||||
# inspect variable and return formatted string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue