Hi, I continue with my newbies question about vim scripting :)
I have a function like:
function! EditMyFile (path)
  let filePath = a:path . "myFile"
  sp filePath
endfunction

Well the sp statement always tries to open a file called filePath instead of
evaluating the variable and use it values.
I have also tried with l:filePath and got the same result.
Any ideas???
thx

-- 
Un saludo
Best Regards
Pablo Giménez

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to