% (mod) was Re: looping table rows
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 23763
interpreted = N
texte = At 1:37 PM -0800 2/15/99, Kenneth Grome is rumored to have typed:> >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!>:)Oh, that's right, it's not in the docs.... I came across it by accident(someone who knew knew some C language mentioned it).Basically, its the remainder in a division problem. So:4%6=2 (4 divided by 6 equals 1 remainer 2)100%10=013%12=119%20=19That's the best I can explain it.MichaelMichael Winston *By e-mail!: michaelw@dhorse.comSenior Web Developer *By web!: http://www.dhorse.com/Dark Horse Comics, Inc. *By fax!: 503/654/9440
Associated Messages, from the most recent to the oldest:
At 1:37 PM -0800 2/15/99, Kenneth Grome is rumored to have typed:> >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!>:)Oh, that's right, it's not in the docs.... I came across it by accident(someone who knew knew some C language mentioned it).Basically, its the remainder in a division problem. So:4%6=2 (4 divided by 6 equals 1 remainer 2)100%10=013%12=119%20=19That's the best I can explain it.MichaelMichael Winston *By e-mail!: michaelw@dhorse.comSenior Web Developer *By web!: http://www.dhorse.com/Dark Horse Comics, Inc. *By fax!: 503/654/9440
Michael Winston
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:
attacment pdf (2002)
Date conversion (2002)
unsubscribe (1997)
Summing fields (1997)
incrementing a counter remotely? (1999)
OT - New Ti Books (2002)
Emailer (1997)
Pass a form addendum (2003)
Process SSI and WebCatalog.acgi (1998)
Can't get appendfile to work (1997)
Bug or syntax error on my part? (1997)
I found a bug ... (1997)
Windows 95/NT tip of the month (1998)
WebCatalog can't find database (1997)
Posting XML data to SSL site (2002)
Nested tags count question (1997)
WebCat2b15MacPlugin - showing [math] (1997)
[WebDNA] WebDNA 7 (2011)
question: back button prevention (1997)
Cross-platform file locations? (2000)