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

Re: [Clip] walking a list obtained from wizard input field

Expand Messages
  • dandiebolt@yahoo.com
    Thanks for the help. This is what came up with: H= Walk List ^!SetListDelimiter ^!SetArray %List%=^?[Enter some fruits] ^!Set i=1 ... ^%i%) ^%List^%i%%
    Message 1 of 4 , Mar 3 1:18 PM
    • 0 Attachment
      Thanks for the help. This is what came up with:

      H="Walk List"
      ^!SetListDelimiter " "
      ^!SetArray %List%=^?[Enter some fruits]
      ^!Set i=1
      :loop
      ^%i%) ^%List^%i%%

      ^!Inc %i%
      ^!If ^%i% <= ^%List0% loop

      Entering "apple bananna cherry" produces this output:

      1) apple
      2) bananna
      3) cherry
    • RS
      ... That s the way. I forgot to mention the SetListDelimiter, but I see you found it :) Regards, RS
      Message 2 of 4 , Mar 3 1:45 PM
      • 0 Attachment
        At 09:18 PM 03/03/01 -0000, you wrote:
        >Thanks for the help. This is what came up with:
        >
        >H="Walk List"
        >^!SetListDelimiter " "
        >^!SetArray %List%=^?[Enter some fruits]
        >^!Set i=1
        >:loop
        >^%i%) ^%List^%i%%
        >
        >^!Inc %i%
        >^!If ^%i% <= ^%List0% loop
        >
        >Entering "apple bananna cherry" produces this output:
        >
        >1) apple
        >2) bananna
        >3) cherry
        >


        That's the way.

        I forgot to mention the SetListDelimiter, but I see you found it :)


        Regards,

        RS
      Your message has been successfully submitted and would be delivered to recipients shortly.