Trouble pulling value from $dialog() - 05/05/17 02:49 PM
I have this particular dialog...
Now here's my problem. I can't get $dialog(example,example) to return any value.
I've tried "//echo -a $dialog()"
And I've tried "set %variable $dialog() | echo -a %variable"
But in both situations, the echo command fails because there is nothing to echo.
What am I doing wrong?
Code:
dialog example { title "Example!!!" size -1 -1 62 36 option dbu text "Arbitrary Text!", 1, 2 2 60 8, center radio "Continue", 2, 2 10 33 10 radio "Abort", 3, 35 10 27 10 button "OK", 4, 2 22 58 12, ok }
Now here's my problem. I can't get $dialog(example,example) to return any value.
I've tried "//echo -a $dialog()"
And I've tried "set %variable $dialog() | echo -a %variable"
But in both situations, the echo command fails because there is nothing to echo.
What am I doing wrong?