Lines Matching refs:counter
1705 let s:counter = 0
1707 let s:counter = s:counter + 1
1708 echo s:counter
1712 You can now invoke "Tick" from any script, and the "s:counter" variable in
1713 that script will not be changed, only the "s:counter" in the script where
1718 let s:counter = 0
1719 command Tick let s:counter = s:counter + 1 | echo s:counter
1728 let s:counter = 0
1732 let s:counter = s:counter + 1
1736 let s:counter = s:counter - 1
1743 called, the s:counter variable will be accessible in MyCounter().
1747 maintain a counter: >
1749 if !exists("s:counter")
1750 let s:counter = 1
1753 let s:counter = s:counter + 1
1754 echo "script executed " . s:counter . " times now"
4251 When editing another file, the counter is reset, thus this