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

index for otl's

Expand Messages
  • Dave
    Hi for anyone interested in OTL S the clip below will take you to the first A,B,C,etc in you heading list and I have tried it on otl s from 5 headings to 300
    Message 1 of 1 , May 19, 2009
    • 0 Attachment
      Hi
      for anyone interested in OTL'S the clip below will take you to the first
      A,B,C,etc in you heading list and I have tried it on otl's from 5 headings
      to 300 it seems to work quite well ,if you want you can make own clipbar
      with letters on it hence index ,the clip is a combination of clips.
      do have one question ,could someone explain the way this line works I think
      I know ??
      ^!Set
      %POS%="^$StrCount(";";"^$StrCopyLeft(";^%Headings%";^$StrPos("^%FOUND%";"^%Headings%";0)$)$";0;0)$"

      H="Q" nake this any letter you want times 25
      ^!SET %XX%=;Q
      ^!CLIP "DET"

      H="_DET"
      ^!Set %FOUND%=^%xX%
      ;loop to gather topic headings
      ^!Set %Counter%=0
      :GatherHeadings
      ^!If ^%Counter% > ^$GetTopicCount$ SortHeadings
      ^!Set %Headings%=^%Headings%^$GetTopicName(^%Counter%)$;
      ^!Inc Counter
      ^!GoTo GatherHeadings
      :SortHeadings
      ^!SET %Headings%=^$StrSort("^%Headings%";False;TRUE;False)$
      ; - all in one long line
      ^!StatusShow Working
      ^!Set
      %POS%="^$StrCount(";";"^$StrCopyLeft(";^%Headings%";^$StrPos("^%FOUND%";"^%Headings%";0)$)$";0;0)$"

      ; - split in seperate commands

      ^!TopicShow "^%POS%"

      ^!ClearVariable %Headings%
      ;--------------------------------

      THANKYOU DAVE M
    Your message has been successfully submitted and would be delivered to recipients shortly.