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

Re: check if buffer exists

Expand Messages
  • A.J.Mechelynck
    ... Best regards, Tony. -- The sheep that fly over your head are soon to land.
    Message 1 of 2 , May 1, 2007
      Naim Far wrote:
      > Hi all,
      >
      > Could anyone help me with the command of checking if a certain buffer
      > exists, I wasn't to do something like the following
      >
      > "
      > if( exists(<File Name) ) ;; a buffer exists
      > b <File Name> ;; open the buffer
      > else
      > find <File Name> ;; find such a file and open it
      > endif
      > "
      >
      > Thanx in advance...
      >
      >

      :help bufexists()


      Best regards,
      Tony.
      --
      The sheep that fly over your head are soon to land.
    Your message has been successfully submitted and would be delivered to recipients shortly.