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

Re: [Clip] Entering Further Information

Expand Messages
  • Lee Underwood
    Thanks! The second one works great. Now I can see where my mistakes were. Thanks again! Lee
    Message 1 of 3 , Aug 14, 2004
      Thanks! The second one works great. Now I can see where my mistakes were.

      Thanks again!

      Lee



      >Lee,
      >
      >I added a numeric variable and a command to increment it to your
      >clip, I also changed the '[square brackets]' around your first 2
      >wizards to '{curly braces}'. Problem is, this causes them to
      >display singly, and you probably don't want that. The way around
      >that is to change the clip input procedure.
      >
      >Square brackets are read and defined immediately upon starting the
      >clip. Also when using square brackets, if the prompts are
      >identical, as they would be in your loop, the first, initial
      >definition overrides any that follow.
      >
      >Changing to '{curly braces}' which are defined only as your clip
      >gets to them the first wizard is defined anew during each iteration
      >of the loop.
      >
      >-------start
      >^!ClearVariables
      >^!Set %name%=0
      >:new
      >^!Inc %name%
      >^!InsertHTML <a name="^%name%"></a><div class="headline">
      >^?{(1)Enter Headline}</div>^%NL%
      >^!InsertHTML <div class="textdark2">^?{(2;h=10;T=W)Enter
      >Story}</div>^%NL%
      >^!InsertHTML <br><br>^%NL%
      >^!Goto ^?{Do you want to enter another story?==_Yes^=new|No^=EXIT}
      >-------end
      >
      >
      >In this slightly tested example, I changed the input method so you
      >get a double input wizard that comes up blank on each iteration.
      >
      >It should work, if not post back. Be careful, the set headline and
      >story variables on in 1 line. Be sure to rejoin that line if it is
      >wrapped in email. The first inserthtml line is long enough to get
      >wrapped also, check carefully.
      >
      >-------start 2
      >^!ClearVariables
      >^!Set %name%=0
      >:NEW
      >^!Inc %name%
      >^!Set %headline%=^?{(1)Enter Headline=};
      >%story%=^?{(2;h=10;T=W)Enter Story=}
      >;
      >^!InsertHTML <a name="^%name%"></a><div class="headline">
      >^%headline%</div>^%NL%
      >^!InsertHTML <div class="textdark2">^%story%</div>^%NL%
      >^!InsertHTML <br><br>^%NL%
      >^!Goto ^?{Do you want to enter another story?==_Yes^=NEW|No^=EXIT}
      >------end 2
      >
      >hrs
    Your message has been successfully submitted and would be delivered to recipients shortly.