Loading ...
Sorry, an error occurred while loading the content.

Re: quote and concatenate parameters for functions

Expand Messages
  • Luis A. Florit
    ... Arggg... indeed, it seems to work now. Thanks Andy!!! Cheers, L. --~--~---------~--~----~------------~-------~--~----~ You received this message from the
    Message 1 of 3 , Jan 28, 2008
    • 0 Attachment
      On Jan 28, 2:06 pm, Andy Wokula <anw...@...> wrote:
      > Luis A. Florit schrieb:
      >
      > > function MyCalcAdd(numer,oper)
      > > norm gv
      > > exe ":'<,'>B s/.*/\\=MyCalc(\"" . a:numer . a:oper . "\"submatch(0))/"
      >
      > exe ":'<,'>B s/.*/\\=MyCalc(\"" . a:numer . a:oper . "\". submatch(0))/"
      >
      > > norm gv
      > > norm \anum
      > > endfunction
      >
      > You missed a dot, thus quoting wasn't the problem.

      Arggg... indeed, it seems to work now.
      Thanks Andy!!!
      Cheers,
      L.
      --~--~---------~--~----~------------~-------~--~----~
      You received this message from the "vim_use" maillist.
      For more information, visit http://www.vim.org/maillist.php
      -~----------~----~----~----~------~----~------~--~---
    Your message has been successfully submitted and would be delivered to recipients shortly.