Re: It just Does't add up!!!
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 15032
interpreted = N
texte = >All I want to do is:>For every 2 items only charge 1 delivery>ie: 1-2 items =$10, 2-3 items =$20, 4-5 items =$30, 6-7 items =$40My questions and suggestions:(1) Shouldn't the breaks in the above groups be 1-2, 3-4, 5-6, 7-8,9-10, etc? The way it is written above, when I order 2 items mydelivery charge could be either $10 or $20 ... :)(2) This loop tag is wrong:[loop start=1 &end=50 &advance=1]The only space allowed in this loop tag is a single space between theword loop and the word start. All the other spaces are notallowed, and they are causing the loop to fail. That tag should bewritten like this instead:[loop start=1&end=50&advance=1](3) You have blank spaces in the following math tag that don't belongthere, too. Remember, you have to make sure to use the proper syntaxwhen writing your WebDNA, and extra spaces can cause problems:[math] roundup=0 [/math]The rest of your WebDNA looks okay ... :)Sincerely, Ken GromeWebDNA Solutionshttp://www.smithmicro.com/webdnasolutions/.
Associated Messages, from the most recent to the oldest:
>All I want to do is:>For every 2 items only charge 1 delivery>ie: 1-2 items =$10, 2-3 items =$20, 4-5 items =$30, 6-7 items =$40My questions and suggestions:(1) Shouldn't the breaks in the above groups be 1-2, 3-4, 5-6, 7-8,9-10, etc? The way it is written above, when I order 2 items mydelivery charge could be either $10 or $20 ... :)(2) This loop tag is wrong:[loop start=1 &end=50 &advance=1]The only space allowed in this loop tag is a single space between theword loop and the word start. All the other spaces are notallowed, and they are causing the loop to fail. That tag should bewritten like this instead:[loop start=1&end=50&advance=1](3) You have blank spaces in the following math tag that don't belongthere, too. Remember, you have to make sure to use the proper syntaxwhen writing your WebDNA, and extra spaces can cause problems:
[math] roundup=0 [/math]The rest of your WebDNA looks okay ... :)Sincerely, Ken GromeWebDNA Solutionshttp://www.smithmicro.com/webdnasolutions/.
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:
WCS Newbie question (1997)
Server Load (2000)
nesting limits? (1998)
Variable in a variable (2002)
Searching multiple Databases (1997)
WebCatalog for Mac 2.0.1 Released (1997)
Server IP address-thanks (2004)
WebCatb15 Mac CGI -- [purchase] (1997)
Merry Christmas (1999)
Email Newsletters (2003)
Database Import/Export (1998)
Something wrong with this list? (2006)
What is this error message? (2006)
[isfile] ? (1997)
Don'y know if this is a sily question... (2003)
I want a 404 (2005)
Multiple prices (1997)
Running 2 two WebCatalog.acgi's (1996)
when is failing to [URL]ize values in a comparison risky? (1999)
WebCat2b13 Command Reference Doc error (1997)