Re: if else problem :- Version1
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 54648
interpreted = N
texte = As verified by brian...[text]USDcost=3D[math][PRICE]*[lookupdb=3Dadmin/mycurrency.db&value=3DUSD&lookinfield=3Dcurrency&returnfield=3DexchangeR=ate][/math][/text][text]JPYcost=3D[math][PRICE]*[lookupdb=3Dadmin/mycurrency.db&value=3DJPY&lookinfield=3Dcurrency&returnfield=3DexchangeR=ate][/math][/text][text]EURcost=3D[math][PRICE]*[lookupdb=3Dadmin/mycurrency.db&value=3DEUR&lookinfield=3Dcurrency&returnfield=3DexchangeR=ate][/math][/text][text]currency=3DJPY][/text][if "[currency]"=3D"USD"][then][text]priceDisplay=3D[format 10.2f][USDcost][/format][/text][/then][else] [if "[currency]"=3D"EUR"] [then] [text]priceDisplay=3D=E2=82=AC[format 10.2f][EURcost][/format][/text] [/then] [else] [if "[currency]"=3D"JPY"] [then] [text]priceDisplay=3D=C2=A5[format 10.2f][JPYcost][/format][/text] [/then] [else] [text]priceDisplay=3D=C2=A3[format 10.2f][PRICE][/format][/text] [/else] [/if] [/else]=20 [/if][/else][/if]on 12/4/03 5:21 PM, Donovan Brooke at dbrooke@euca.us wrote:> Alan White wrote:>=20> [snip] Do you think it could be to do with my config or>> something?>=20> No,>=20> Alan, can you post what you have now...> Also, did you answers Brian's question about if [currency]> is comming through? (just put it just before the if/else> statement and see what it displays.>=20> Donovan>=20>=20-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
As verified by brian...[text]USDcost=3D[math][PRICE]*[lookupdb=3Dadmin/mycurrency.db&value=3DUSD&lookinfield=3Dcurrency&returnfield=3DexchangeR=ate][/math][/text][text]JPYcost=3D[math][PRICE]*[lookupdb=3Dadmin/mycurrency.db&value=3DJPY&lookinfield=3Dcurrency&returnfield=3DexchangeR=ate][/math][/text][text]EURcost=3D[math][PRICE]*[lookupdb=3Dadmin/mycurrency.db&value=3DEUR&lookinfield=3Dcurrency&returnfield=3DexchangeR=ate][/math][/text][text]currency=3DJPY][/text][if "[currency]"=3D"USD"][then][text]priceDisplay=3D[format 10.2f][USDcost][/format][/text][/then][else] [if "[currency]"=3D"EUR"] [then] [text]priceDisplay=3D=E2=82=AC[format 10.2f][EURcost][/format][/text] [/then] [else] [if "[currency]"=3D"JPY"] [then] [text]priceDisplay=3D=C2=A5[format 10.2f][JPYcost][/format][/text] [/then] [else] [text]priceDisplay=3D=C2=A3[format 10.2f][PRICE][/format][/text] [/else] [/if] [/else]=20 [/if][/else][/if]on 12/4/03 5:21 PM, Donovan Brooke at dbrooke@euca.us wrote:> Alan White wrote:>=20> [snip] Do you think it could be to do with my config or>> something?>=20> No,>=20> Alan, can you post what you have now...> Also, did you answers Brian's question about if [currency]> is comming through? (just put it just before the if/else> statement and see what it displays.>=20> Donovan>=20>=20-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Alan White
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:
select multiple 2 more cents (1997)
Domain name & WebDNA 5.0 (2003)
Running 2 two WebCatalog.acgi's (1996)
international time (1997)
More questions about serial number dishing (1997)
Way [OT] - OS 10.2 Server (2002)
unique ascending numbers (2003)
bug in [SendMail] (1997)
Merging databases (1997)
[lookup] vs. [search] (1998)
WebMerchant Problem (1999)
Replto in [SendMail] (2000)
What's New Date (2002)
Preventing code execution (2003)
Username/Password with [Protect] (2000)
Extended [ConvertChars] (1997)
Shownext on AOL (2003)
[WebDNA] No more SQL in 7.1? (2012)
Generating unique SKU from [cart] - Still Stumped... (1997)
Using Checkbox (2000)