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.com On 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:

    
  1. Re: [if] and [showif] - A solution (Brian Fries 2002)
  2. Re: [if] and [showif] - A solution (Donovan Brooke 2002)
  3. Re: [if] and [showif] - A solution (Mark Derrick 2002)
  4. Re: [if] and [showif] - A solution (Mark Derrick 2002)
  5. Re: [if] and [showif] (Andrew Simpson 2002)
  6. Re: [if] and [showif] (Pedro Rivera 2002)
  7. Re: [if] and [showif] (Donovan 2002)
  8. Re: [if] and [showif] (Donovan 2002)
  9. Re: [if] and [showif] - A solution (Rob Marquardt 2002)
  10. Re: [if] and [showif] - A solution (Donovan 2002)
  11. Re: [if] and [showif] - A solution (Mark Derrick 2002)
  12. Re: [if] and [showif] - A solution (John Peacock 2002)
  13. Re: [if] and [showif] - A solution (Grant Hulbert 2002)
  14. Re: [if] and [showif] - A solution (Mark Derrick 2002)
  15. Re: [if] and [showif] (Mark Derrick 2002)
  16. Re: [if] and [showif] (Dan Strong 2002)
  17. Re: [if] and [showif] (Alex McCombie 2002)
  18. Re: [if] and [showif] (Dan Strong 2002)
  19. Re: [if] and [showif] (Mark Derrick 2002)
  20. Re: [if] and [showif] (Daryl Mitchell 2002)
  21. Re: [if] and [showif] (Dan Strong 2002)
  22. Re: [if] and [showif] (Mark Derrick 2002)
  23. Re: [if] and [showif] (Dan Strong 2002)
  24. Re: [if] and [showif] (Mark Derrick 2002)
  25. Re: [if] and [showif] (Mark Derrick 2002)
  26. Re: [if] and [showif] (Gary Krockover 2002)
  27. [if] and [showif] (Mark Derrick 2002)
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.com On 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)