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

Re: [NTB] Modify Lines - Reverse?

Expand Messages
  • Jody
    Hi Harvey and Trish, ... Shame on you for posting a Clip to the Basic list, Mr. Harvey! :) Just for that, instead of 99 lashes with a wet noodle across the
    Message 1 of 1 , Oct 1, 2001
    • 0 Attachment
      Hi Harvey and Trish,

      >h="reverse line order"

      Shame on you for posting a Clip to the Basic list, Mr. Harvey! :)
      Just for that, instead of 99 lashes with a wet noodle across the
      eyeball (with Clip code), I give you the following. ;-รพ~~~

      <--- Copy below this line --->
      H=Reverse Sort I
      ; Last Updated 10-01-2001, Sojourner@..., jody
      ; This Clip sorts a whole document with items listed in a column,
      ; case sensitive, Descending order, with duplicates removed. For
      ; more information see Help under the "Clip Language - Text
      ; Processing" StrSort function.

      ^!Select All
      ^$StrSort("^$GetText$";1;0;1)$


      H=Reverse Sort II
      ; Last Updated 10-01-2001, Sojourner@..., jody
      ; This Clip sorts a selected column of text if selected, case
      ; sensitive, in a descending order, with duplicates removed. If no
      ; text is selected, the whole document will be sorted according
      ; to the aforementioned sorting options. For more information
      ; see Help under "Clip Language - Text Processing" StrSort function.

      ^!IfTrue ^$IsEmpty(^$GetSelection$)$ Next else Skip_3
      ^!Select All
      ^$StrSort("^$GetText$";1;0;1)$
      ^!Goto End
      ^$StrSort("^$GetSelection$";1;0;1)$

      <--- Copy above this line, right --->
      <--- click over a Library, and --->
      <--- choose "Add from Clipboard" --->

      Happy Clip'n!
      Jody

      http://www.notetab.net

      Subscribe, UnSubscribe, Options
      mailto:Ntb-Clips-Subscribe@yahoogroups.com
      mailto:Ntb-Clips-UnSubscribe@yahoogroups.com
      http://groups.yahoo.com/group/ntb-clips
    Your message has been successfully submitted and would be delivered to recipients shortly.