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

6398Re: [Clip] Calc result

Expand Messages
  • Jody
    May 1, 2001
    • 0 Attachment
      Hi tpborter,

      I don't quite know what you are trying to do, but perhaps you
      can figure out something from the following. There are other
      ways of padding the front with zeros, but this came to mind.
      It sorts the selection of a list of numbers, so you would need
      to ^!Replace ", " >> "^p" and put back in at the end.

      ^!Jump Line_Start
      ^!Set %Start%=^$GetRow$:^$GetCol$
      ^!Set %Line%=^$StrSize("^$GetLine$")$
      ^!Jump +1
      ^!If ^$GetRow$=^$GetLineCount$ Skip
      ^!Goto Loop
      ^!SelectTo ^%Start%

      >I have a clip to calc these figures ,but the result has to be 4 places
      >the problem is the result will sometimes need a leading zero.
      >Anybody know how to do this.
      >This is not complete just example.
      >^!Select +4
      >^!set %FlgW%="^$GetSelection$"
      >^!Jump Line_end
      >^!MoveCursor -6
      >^!Select +4
      >^!set %ga%="^$GetSelection$"
      > this 2059 %flgw%
      > %ga%
      > minus____these in each line
      > 41466033131
      > 41466172831
      > 42228033131

      Happy Clip'n!


      Subscribe, UnSubscribe, Options
    • Show all 3 messages in this topic