Loops N Variables

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 21031
interpreted = N
texte = If this was hypercard, I think this would be easy:put 0 into variable repeat for 5 variable + 1 end repeat variable.....and the answer is 5 ta da! Ok in webcat can I set a variable, do math to it and use the answer in the next calculation?[math]variable=0[/math] [loop start=1&end=5] [math]variable+1[/math]
[/loop]variable
Not so..... is this even possible? Mooseman Associated Messages, from the most recent to the oldest:

    
  1. Re: Loops N Variables (The Mooseman 1998)
  2. Re: Loops N Variables (PCS Technical Support 1998)
  3. Re: Loops N Variables (Peter Ostry 1998)
  4. Re: Loops N Variables (The Mooseman 1998)
  5. Re: Loops N Variables (Bob Minor 1998)
  6. Re: Loops N Variables (Kenneth Grome 1998)
  7. Loops N Variables (The Mooseman 1998)
If this was hypercard, I think this would be easy:put 0 into variable repeat for 5 variable + 1 end repeat variable.....and the answer is 5 ta da! Ok in webcat can I set a variable, do math to it and use the answer in the next calculation?[math]variable=0[/math] [loop start=1&end=5] [math]variable+1[/math]
[/loop]variable
Not so..... is this even possible? Mooseman The Mooseman

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

WC2b12: Yes, Formulas.db is for real (1997) Math Context (2001) RE: type 2 errors with ssl server (1997) MacActivity and PCS (1997) [WebDNA] Sorting -- Dealing with Blanks (2008) mod_webcatalog2.so.2-40 is garbled (2008) Single Link browsing (1997) blank page from template (1997) redirect with frames (1997) delete fails (2000) Web Catalog 2 demo (1997) too many nested ... problem (1997) There's a bug in the math context ... (1997) View order not right (1997) PCS Frames (1997) SQL Changes in 3.0.7? (2000) Random letter and/or number (2001) Showing unopened cart (1997) counting characters and/or words (1997) Rhapsody? (1997)