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

5187Re:[Clip] clip help

Expand Messages
  • Elizabeth Wild
    Dec 1, 2000
    • 0 Attachment
      Dave,

      Here is what I would do --

      In place of the ^!Inc command I would use ^!Set %N%=^$Calc(^%N%=1)$. I would set it up this way simply because I can never get ^!Inc to work the way I want it
      to (probably because I don't really understand what it is supposed to do).

      Well that's my 2 cents on how to handle this.

      Elizabeth

      Original message from: David McIntosh
      >Hi list
      >Trying to make clip to make the format below could not work out how to
      >include [ 0 ] in the Inc. command???
      >
      >artist=Abraxas Pool
      >title=Abraxas Pool
      >numtracks=4
      >0=Boom Ba Ta Ya
      >1=A Million Miles Away
      >2=Baila Mi Cha Cha
      >3=Waiting For You
      >
      >the no. of tracks can vary.
      >
      >H="Track & count"
      >
      >^!SET %ROWT%=^$GETROW$
      >^!KEYBOARD CTRL+END
      >^!SET %ROWB%=^$GETROW$
      >^!SET %trackCount%=^$calc(^%ROWB% - ^%ROWT%)$
      >^!SET %N%=1
      >^!SetCursor ^%ROWT%:1
      >Artist=^?[Artist]
      >Title=^?[Title]
      >numtracks=^?[No.Tracks]
      >0=
      >:START
      >^!Jump LINE_START
      >^!INSERT ^%N%=
      >^!INC %N%
      >^!JUMP +1
      >^!IF ^%N% <= ^%trackCount% START
      >
      > THANKYOU DAVE
      >
      >
      >
      >
    • Show all 3 messages in this topic