Richard Emberson wrote: > In the following I am creating a dictionary, associating a function > with the dictionary and then reassociating a new function > with the name of the original function. > > Try this without the fix and you get: > ADD > n=9 > Error detected while processing /home/emberson/vim/foo.vim: > line 14: > E475: Invalid argument: 1 > ADD > n=9 > > Note that "1" is the index of the function in the dictionary. > > Try it with the fix you get: > ADD > n=9 > MULTIPLY > n=20
This makes sense. Can you please provide a context diff so that it's easier to see what you are changing? -- hundred-and-one symptoms of being an internet addict: 244. You use more than 20 passwords. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///