Anyone know if there are any predefined variables for use when creating functions in the dude? Or does anyone know the syntax for creating/using variables?
I’m trying to write a function that needs arguments passed to it.. is this possible?
Anyone know if there are any predefined variables for use when creating functions in the dude? Or does anyone know the syntax for creating/using variables?
I’m trying to write a function that needs arguments passed to it.. is this possible?
Here’s an example:
function wireless_interface($arg1)
{
ros_command("interface wireless registration-table print count-only where interface='$arg1'")
}
wireless_interface(wlan1) -> returns value to dude for specified interface.
Hi,
Have you found if it´s possible?
I´m looking for this too.
Best regards
Apparently it is not possible at this time. No idea if and when it will be.