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

Re: [NTB] How can I Process number lists?

Expand Messages
  • Jody
    Hi tpborter, (Please don t post Clips questions to the Basic list. - tanX;) ... ^!If ^$StrCopyRight( ^$GetLine$ ;2)$ = 21 Skip_2 ^!DeleteLine ^!Goto Loop
    Message 1 of 1 , May 2, 2001
      Hi tpborter,

      (Please don't post Clips questions to the Basic list. - tanX;)

      This should do it:

      ^!If ^$StrCopyRight("^$GetLine$";2)$ = 21 Skip_2
      ^!Goto Loop
      ^!Jump +1
      ^!If ^$GetRow$ = ^$GetLineCount$ Skip
      ^!Goto Loop

      > 43371033131
      > 44133158811
      > 134303057221
      > 134303158821
      > 41466033121
      > 41466172821
      >not necessarily in this order.
      >I want to delete all lines/para that end w/31 and 11
      >but skip or leave lines that end w/21
      >I haven't got a problem selecting the last 2 or deleting the line if
      >it is 31,or 11(deleting makes it process the next line)
      >the problem is I haven't found a way to go to the next line if it
      >encounters a 21.

      Happy Clip'n!


      Subscribe, UnSubscribe, Options
    Your message has been successfully submitted and would be delivered to recipients shortly.