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]*[lookup db=3Dadmin/mycurrency.db&value=3DUSD&lookinfield=3Dcurrency&returnfield=3DexchangeR= a te][/math][/text] [text]JPYcost=3D[math][PRICE]*[lookup db=3Dadmin/mycurrency.db&value=3DJPY&lookinfield=3Dcurrency&returnfield=3DexchangeR= a te][/math][/text] [text]EURcost=3D[math][PRICE]*[lookup db=3Dadmin/mycurrency.db&value=3DEUR&lookinfield=3Dcurrency&returnfield=3DexchangeR= a te][/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:

    
  1. Re: if else problem :- Version1 ( Donovan Brooke 2003)
  2. Re: if else problem :- Version1 ( Alan White 2003)
As verified by brian... [text]USDcost=3D[math][PRICE]*[lookup db=3Dadmin/mycurrency.db&value=3DUSD&lookinfield=3Dcurrency&returnfield=3DexchangeR= a te][/math][/text] [text]JPYcost=3D[math][PRICE]*[lookup db=3Dadmin/mycurrency.db&value=3DJPY&lookinfield=3Dcurrency&returnfield=3DexchangeR= a te][/math][/text] [text]EURcost=3D[math][PRICE]*[lookup db=3Dadmin/mycurrency.db&value=3DEUR&lookinfield=3Dcurrency&returnfield=3DexchangeR= a te][/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:

foreign languages, email, webcat (1998) form data submission gets truncated (1997) WebCat & WebTen (1997) WebCat2 beta 11 - new prefs ... (1997) Bug or syntax error on my part? (1997) Draft Manual, Tutorial, and more (1997) PCS Emailer's role ? (1997) Problem (1997) [ShowNext] feature in 2.0 (1997) PCS Frames-Default page is solution! (1997) Ok here is a question? (1997) Credit Card Number checking (1997) Which GUI HTML editors work with WC ? (1997) Checking for blank form fields (sort of...) (1998) Firesite cache vs webcat cache (1997) [WebDNA] New list (2008) Not sending email !!! (2002) generate sequential numbers (2000) Security (2002) WebMerchant and Mac Auth Hub Help Please (1999)