:call: Call a function.:exec: Executes a string as an Ex command.
It has the similar meaning ofeval(injavascript,python, etc)
For example:
function! Hello()
echo "hello, world"
endfunction
call Hello()
exec "call Hello()"
:call: Call a function.:exec: Executes a string as an Ex command.eval(in javascript, python, etc)For example:
function! Hello()
echo "hello, world"
endfunction
call Hello()
exec "call Hello()"