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:
search function (2005)
A quickie question (1997)
followup to ws3 vs ws2.1 speed (1998)
syntax question, not in online refernce (1997)
TinyStore example templates (1998)
WC2.0 Memory Requirements (1997)
Reversed words (1997)
Sorting Numbers (1997)
PCS Customer submissions ? (1997)
font statistics (2003)
Cart Question: The Epic Saga (1998)
Quitting WebMerchant ? (1997)
Error Lob.db records error message not name (1997)
Opinion: [input] should be called [output] ... (1997)
Sorting Numbers (1997)
[WebDNA] An unknown error occured // Deadlock avoided (2011)
Re:no [search] with NT (1997)
Shownext and search context (2000)
Can I invoke an ssi plugin from within a webcat page (1997)
Multiple prices per product (2004)