function Foo(arg1 , arg2)
echo "Hello world !"
endfunction
When I try to source the above I get
E475: Invalid argument: Foo(arg1 , arg2)
If I change the first line to
function Foo(arg1, arg2)
it works fine. (If you can't see the difference between the two
scroll below for the answer) So I was wondering is it supposed
to work this way or is it a bug ?
In the working version there is no space before the comma.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---