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

Re: function call and

Expand Messages
  • Klaus Bosau
    ... Hi Benji, ... did it. Thanks! Klaus
    Message 1 of 3 , Mar 30, 2003
      On Sun, 30 Mar 2003, Benji Fisher wrote:

      > I think that
      >
      > :C!
      >
      > will have the effect of
      >
      > :call F(!)
      >
      > which should produce an error message. You could try
      >
      > :com -bang C :call F("<bang>")
      >
      > and change the test in F(). You could also experiment with <q-bang>
      > and <f-bang>.

      Hi Benji,

      :call F("<bang>") / if a:1 == "!"

      did it.

      Thanks!

      Klaus
    Your message has been successfully submitted and would be delivered to recipients shortly.