Re: [if] and [showif]
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 45205
interpreted = N
texte = Mark,Looks like it's the (lack of) parenthesis. Funny, I didn't think they were required syntax, after reading the docs, but I guess they are...From the docs: [If Expressions][Then]do this[/Then][Else]otherwise this[/Else][/If] ---------But...---------[text show=f]variable=blah_SomeText_blah[/text][showif [variable]^SomeText]Showif: Yes[/showif]
[if (([variable])^(SomeText))][then](If): Yes[/then][else](If): No[/else][/if]
[showif [variable]^SomeText]Showif: Yes[/showif]
[if [variable]^SomeText][then]If: Yes[/then][else]If: No[/else][/if]-------------Returns:-------------Showif: Yes (If): Yes Showif: Yes If: No-Dan------------------------------------------------------------http://www.StrongGraphicDesign.com(208) 319-0137 | Toll-free p/f 877-561-1656------------------------------------------------------------NEW! Do-It-Yourself Printing: http://sgd.cceasy.comOn Wed, 13 Nov 2002 14:27:08 +0000 Mark Derrick
wrote:>Why does:>>[showif [variable] ^ SomeText]Yes[/showif]>>Return yes, but:>>[if [variable] ^ SomeText]>[then]Yes[/then]>[else]No[/else]>[/if]>>Return no?>>>Thanks.>>>>------------------------------------------------------------->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://search.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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Mark,Looks like it's the (lack of) parenthesis. Funny, I didn't think they were required syntax, after reading the docs, but I guess they are...From the docs: [If Expressions][Then]do this[/Then][Else]otherwise this[/Else][/If] ---------But...---------[text show=f]variable=blah_SomeText_blah[/text][showif [variable]^SomeText]Showif: Yes[/showif]
[if (([variable])^(SomeText))][then](If): Yes[/then][else](If): No[/else][/if]
[showif [variable]^SomeText]Showif: Yes[/showif]
[if [variable]^SomeText][then]If: Yes[/then][else]If: No[/else][/if]-------------Returns:-------------Showif: Yes (If): Yes Showif: Yes If: No-Dan------------------------------------------------------------http://www.StrongGraphicDesign.com(208) 319-0137 | Toll-free p/f 877-561-1656------------------------------------------------------------NEW! Do-It-Yourself Printing: http://sgd.cceasy.comOn Wed, 13 Nov 2002 14:27:08 +0000 Mark Derrick wrote:>Why does:>>[showif [variable] ^ SomeText]Yes[/showif]>>Return yes, but:>>[if [variable] ^ SomeText]>[then]Yes[/then]>[else]No[/else]>[/if]>>Return no?>>>Thanks.>>>>------------------------------------------------------------->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://search.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://search.smithmicro.com/
Dan Strong
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:
RE: WebCat: Access denied, but why? - The solution. (1997)
well sort of - database design (2003)
WebCat & WebTen (1997)
[WebDNA] [lookup returning nothing at all.. not even the notfound param. (2010)
Sorting when searching with grouped fields (2002)
Displaying photo attached to first record (1997)
Windows and Webcat! (2000)
searchable list archive (1997)
Micro-managing External Links (2006)
Apache and Applescript (2004)
Searching multiple Databases (1997)
RE: [WebDNA] Grep (2009)
Version f1 status (1997)
Grep help (2004)
Bug Report, maybe (1997)
(1997)
wow (1998)
Secure server question (1997)
RequiredFields template (1997)
restarting service remotely on NT (1997)