Re: looping table rows

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 23758
interpreted = N
texte = >At 1:04 PM -0800 2/15/99, Kenneth Grome is rumored to have typed: > > >> >>>Since you're in the loop context use the [index] tag and the mod >>function % >> >>>to solve you're problem. >> >>> >> >>>Mod function returns integer remainder when doing integer division. Very >> >>>useful in programming. >> >> >> >>Is there really such a thing as a mod function in webcatalog, or are you >> >>suggesting this because you've seen it in some other programming language >> >>and are assuming that it is also available in webcatalog? >> > >> >I think he meant modulus. >> >> There's nothing called mod or modulus in the webdna language. > >True, but there is the '%' > >[MATH]6%4[/MATH]=2 Is it in the docs?I'm looking all over the place, and there's nothing documented about using % in a math context as a function or as anything else ... so is this an undocumented math function in the webdna language? And if so, would one of you folks who know how to use it please explain it? Thanks! :)Sincerely, Ken Grome WebDNA Consultant Associated Messages, from the most recent to the oldest:

    
  1. Re: looping table rows (John Winningham 1999)
  2. Re: looping table rows (Dennis J. Bonsall, Jr. 1999)
  3. Re: % (mod) was Re: looping table rows (RH Prouty 1999)
  4. Re: % (mod) was Re: looping table rows (PCS Technical Support 1999)
  5. Re: looping table rows (charles kline 1999)
  6. Re: looping table rows (charles kline 1999)
  7. Re: % (mod) was Re: looping table rows (RH Prouty 1999)
  8. Re: % (mod) was Re: looping table rows (RH Prouty 1999)
  9. Re: % (mod) was Re: looping table rows (Kenneth Grome 1999)
  10. Re: looping table rows (Brian Willson 1999)
  11. Re: looping table rows (charles kline 1999)
  12. % (mod) was Re: looping table rows (Michael Winston 1999)
  13. Re: looping table rows (charles kline 1999)
  14. Re: looping table rows (PCS Technical Support 1999)
  15. Re: looping table rows (Kenneth Grome 1999)
  16. Re: looping table rows (Michael Winston 1999)
  17. Re: looping table rows (Kenneth Grome 1999)
  18. Re: looping table rows (charles kline 1999)
  19. Re: looping table rows (Kenneth Grome 1999)
  20. Re: looping table rows (Josh Tiger 1999)
  21. looping table rows (Phil Herring 1999)
>At 1:04 PM -0800 2/15/99, Kenneth Grome is rumored to have typed: > > >> >>>Since you're in the loop context use the [index] tag and the mod >>function % >> >>>to solve you're problem. >> >>> >> >>>Mod function returns integer remainder when doing integer division. Very >> >>>useful in programming. >> >> >> >>Is there really such a thing as a mod function in webcatalog, or are you >> >>suggesting this because you've seen it in some other programming language >> >>and are assuming that it is also available in webcatalog? >> > >> >I think he meant modulus. >> >> There's nothing called mod or modulus in the webdna language. > >True, but there is the '%' > >[math]6%4[/MATH]=2 Is it in the docs?I'm looking all over the place, and there's nothing documented about using % in a math context as a function or as anything else ... so is this an undocumented math function in the webdna language? And if so, would one of you folks who know how to use it please explain it? Thanks! :)Sincerely, Ken Grome WebDNA Consultant Kenneth Grome

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:

WebCat2 - [include] tags (1997) Append..... doesn't (2000) Nested [xxx] contexts & Bad Suffix (1998) Demo math questions (2000) NewCart+Search with one click ? (1997) creating a ShipCosts database (1997) (no subject) (1997) Can he do that? (1998) includes and cart numbers (1997) Include a big block of text (1997) Nested tags count question (1997) Extended [ConvertChars] (1997) Alternating colors (1997) Emailer prefs in two places ... (1997) Sorting (1998) Extended [ConvertChars] (1997) insert graphic in email (2000) Need relative path explanation (1997) Rendering out a page-test results (1997) Pulling Javascript from a DB (2004)