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

Re: [Clip] looping

Expand Messages
  • Larry Hamilton
    Dave, A variable retains its value until it is replaced by a new value, or the variable is cleared with one of the following commands: ^!ClearVariable
    Message 1 of 1 , Apr 21, 2003
    • 0 Attachment
      Dave,

      A variable retains its value until it is replaced by a new value, or the
      variable is cleared with one of the following commands:

      ^!ClearVariable %VariableName%
      Empties the specified variable.

      ^!ClearVariables
      Clears all variables (including those defined as permanent).

      I see what you were trying to do, so I would suggest a change on the next to
      last line of your clip:

      ^!Set %V10%="^?{link=}";%V20%="^?{tag=^%V20%}"

      By setting tag=^%V20% it will display the value in ^%V20% and will allow you
      to type another value if you so desire. ^%V20% will hold any new value it is
      given, until changed.

      The way your clip is below, it is setting the value of the variable to
      nothing.

      I hope this helps.

      Larry Hamilton

      David wrote:
      > Hi
      > Does anyone know whether NTS transfers variables while it loops as in
      > the clip below
      > allows one to go between pages very easily
      >
      > H="Diff.Page ImageTag"
      > ^!Set %V20%="^?[Diff.Page ImageTag=]"
      > ^!InsertHtml <a NAME="^%V20%">
      > ^!SetHintInfo PRESS Shift key to continue clip
      > ^!IfFalse ^$IsShiftKeyDown$ Skip_-1 ELSE NEXT
      > ;
      > ^!SetHintInfo CONTINUING....GO TO THE OTHER PAGE
      > ^!Delay 3
      > ^!Set %V10%="^?{link=}";%V20%="^?{tag=}"
      > ^!InsertHtml <A HREF="^%V10%#^%V20%">^%V20%</A>
      >
      > THANKYOU DAVE
    Your message has been successfully submitted and would be delivered to recipients shortly.