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]=2Is 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 GromeWebDNA Consultant
Associated Messages, from the most recent to the oldest:
>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]=2Is 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 GromeWebDNA 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:
expired beta (1997)
WebCatalog2 Feature Feedback (1996)
WebCatalog 2.0 b 15 mac (1997)
[Sum] function? (1997)
Type 11 errors setting up WebCAt 2 (1997)
[WebDNA] Problem running Webdna (2011)
Displaying text and populating form fields (again) (2005)
Release Date? (2002)
apparent variable variable display? (2000)
best way to get 2 unique strings on the same page load? (2000)
Multi-processor Mac info ... (1997)
RE: [WebDNA] Installing WebDNA on Windows 7 64 Bit, Home Premium (2010)
Re:trouble (1997)
Forms Search Questions (1997)
tcpconnect/tcpsend frustrations (2002)
WebCat editing, SiteGuard & SiteEdit (1997)
WebCat2b13MacPlugin - nested [xxx] contexts (1997)
WebCat2: Items xx to xx shown, etc. (1997)
Include vs. lookup? (1998)
sandboxes with 6.0 (2004)