Tuesday, September 21, 2010

why use "let str = a:str" in a function

why use "let str = a:str" in a function

Looking at some functions, I have seen "let str = a:str"

Why not just use a:str everywhere?
Other than typing convenience.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: