How is the syntax to a for list with constants e.g.let mydb = "db1 db2 db3" for db in mydb source db.dict end
I think you're looking for list literals:
for db in ['db1', 'db2', 'db3']
exec 'source ' . db . '.dict'
endfor
-tim
--
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
