Re: [if]
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 49692
interpreted = N
texte = There are a bunch of typos in the code - the first variable declaration - m,missing brackets etc .. Fix those and it will probably work.> > hi all,> > can somebody please explain why after running the code bellow i get> > TargetPath=/wholesale/postcards/sm_optim_nc/> > thanks...> > > > [text show=t]categpry=notecard boxes[/text]> > > [if ([category] = postcards)]> > [then]> [Text]TargetPath=/wholesale/postcards/small_optimized/[/Text]> [/then]> > > [else]> [if ([category] = notecards) | [category] = xmas)]> [then]> > [Text]TargetPath=/wholesale/postcards/sm_optim_nc/[/Text]> [/then]> > [else]> > [Text]TargetPath=/wholesale/midszimg/[/Text]> [/else]> [/if]> > [/else]> > [/if]> > > -------------------------------------------------------------> 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/-------------------------------------------------------------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:
There are a bunch of typos in the code - the first variable declaration - m,missing brackets etc .. Fix those and it will probably work.> > hi all,> > can somebody please explain why after running the code bellow i get> > TargetPath=/wholesale/postcards/sm_optim_nc/> > thanks...> > > > [text show=t]categpry=notecard boxes[/text]> > > [if ([category] = postcards)]> > [then]> [text]TargetPath=/wholesale/postcards/small_optimized/[/Text]> [/then]> > > [else]> [if ([category] = notecards) | [category] = xmas)]> [then]> > [text]TargetPath=/wholesale/postcards/sm_optim_nc/[/Text]> [/then]> > [else]> > [text]TargetPath=/wholesale/midszimg/[/Text]> [/else]> [/if]> > [/else]> > [/if]> > > -------------------------------------------------------------> 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/-------------------------------------------------------------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/
Alain Russell
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:
Bug Report, maybe (1997)
Cart# (1997)
forming a SKU (1999)
WC2b15 - [HTMLx]...[/HTMLx] problems (1997)
WebCat b13 CGI -shownext- (1997)
How to add product size choices to form? (1997)
2.0.1 new commands and contexts (1997)
Banners (1997)
Date problems-more (1997)
problems with 2 tags shakur (1997)
Multiple catalog databases and showcart (1997)
WebCommerce: Folder organization ? (1997)
Unanswered trigger questions ... (2003)
NT License trade for Mac (2000)
Secure server question (1997)
Setting up WebCatalog with Retail Pro data (1996)
WebCat and PDF (2000)
Practice runs ? (1997)
attn: smitmicro - cart limitation (2002)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)