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

13153Re: [Clip] ^!If Bug ?

Expand Messages
  • John Mitchell
    Jan 5, 2005
    • 0 Attachment

      Thanks. I've submitted a bug report.

      Regards, John M

      ----- Original message -----
      From: "Alan_C" <acumming@...>
      To: ntb-clips@yahoogroups.com
      Date: Wed, 05 Jan 2005 22:01:10 -0800
      Subject: Re: [Clip] ^!If Bug ?

      John Mitchell wrote:

      >^!Set %comment%=">>"
      >^!Select paragraph
      >^!Set %Str%=^$StrCopyLeft(^$GetSelection$;2)$
      >^!If ^%Str%=^%comment% ^!Prompt ^%Str%=^%comment%
      >^!If ^%comment%=^%Str% ^!Prompt ^%comment%=^%Str%
      >; End of clip -------
      >If I run it against an open document containing arbitrary text the first
      >^!If tests TRUE and the second tests FALSE
      1. same here.

      >, except when the first two
      >characters of the current paragraph are >>, in which case both tests
      >resolve to FALSE!!
      2. same here.
    • Show all 21 messages in this topic