/set -kuN what does it do? - 04/10/09 03:51 AM
Hi there,
What does the switch -k do when using the /set command?
The manual says: The -k switch keeps the current -uN setting for a variable.
So I assumed it meant it will keep counting down even after changing the variable value, but it doesn't, eg...
The above stops the unset counter, so what does -k do and how can I change a variables value while keeping the unset time counting?
What does the switch -k do when using the /set command?
The manual says: The -k switch keeps the current -uN setting for a variable.
So I assumed it meant it will keep counting down even after changing the variable value, but it doesn't, eg...
Code:
set -ku30 %test123 1 %test123 = $calc(%test123 + 5)
The above stops the unset counter, so what does -k do and how can I change a variables value while keeping the unset time counting?