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

11038The operation of ^%NL%

Expand Messages
  • Roy/Nancy Herring
    Oct 2, 2003
    • 0 Attachment
      I have a question on the operation of ^%NL%.
      I have a simple clip below that deletes blank lines.
      It works fine, but if a line contains an equal sign (=), it thinks
      it is a null line and deletes it.
      Can anyone help?
      Thanks, Roy

      For example, in the file below, b= gets deleted:

      ^!Set %Row%=0
      ^!Inc %Row%
      ^!SetCursor ^%Row%:1
      ^!Set %MaxRow%=^$GetTextLineCount$
      ^!If ^%Row% >= ^%MaxRow% BumpRowEnd
      ^!If ^$GetLine$ <> ^%NL% ^!GoTo BumpRow
      ^!GoTo Getline

      [Non-text portions of this message have been removed]