Re: [WebDNA] SEARCH question - SHOWIF - HIDEIF question

This WebDNA talk-list message is from

2011


It keeps the original formatting.
numero = 107806
interpreted = N
texte = This is a multi-part message in MIME format.--------------070803070606040108050408Content-Type: text/plain; charset=ISO-8859-1; format=flowedContent-Transfer-Encoding: 7bitHello List,Would someone be kind enough to explain the HIDEIF syntax below? I'm not following the use of all the pipes "|" and I can't find any example or explanation on the WebDNA Tech Ref page for [hideif]. http://www.webdna.us/page.dna?numero=179.Thank you,SteveKenneth Grome wrote:> [hideif |5|6|12|^|[orderstatus]|]>> [/hideif]>> This code will work fine. It will hide only exact matches > when [orderstatus] is 5 or 6 or 12. It is probably more > efficient than the alternate if / then / else solution.>>> --------------070803070606040108050408Content-Type: text/html; charset=ISO-8859-1Content-Transfer-Encoding: 7bit Hello List,

Would someone be kind enough to explain the HIDEIF syntax below? I'mnot following the use of all the pipes "|" and I can't find any exampleor explanation on the WebDNA Tech Ref page for [hideif].http://www.webdna.us/page.dna?numero=179.

Thank you,
Steve


Kenneth Grome wrote:
[hideif |5|6|12|^|[orderstatus]|][/hideif]This code will work fine.  It will hide only exact matches when [orderstatus] is 5 or 6 or 12.  It is probably more efficient than the alternate if / then / else solution.  
--------------070803070606040108050408-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] SEARCH question - SHOWIF - HIDEIF question (Govinda 2011)
  2. Re: [WebDNA] SEARCH question - SHOWIF - HIDEIF question (Donovan Brooke 2011)
  3. Re: [WebDNA] SEARCH question - SHOWIF - HIDEIF question (Steve Raslevich -Northern Sound 2011)
  4. Re: [WebDNA] SEARCH question - SHOWIF - HIDEIF question (Kenneth Grome 2011)
  5. Re: [WebDNA] SEARCH question - SHOWIF - HIDEIF question (christophe.billiottet@webdna.us 2011)
  6. Re: [WebDNA] SEARCH question - SHOWIF - HIDEIF question (Govinda 2011)
  7. Re: [WebDNA] SEARCH question - SHOWIF - HIDEIF question (christophe.billiottet@webdna.us 2011)
  8. Re: [WebDNA] SEARCH question - SHOWIF - HIDEIF question (christophe.billiottet@webdna.us 2011)
  9. Re: [WebDNA] SEARCH question - SHOWIF - HIDEIF question (Govinda 2011)
  10. Re: [WebDNA] SEARCH question - SHOWIF - HIDEIF question (Donovan Brooke 2011)
  11. Re: [WebDNA] SEARCH question - SHOWIF - HIDEIF question (Steve Raslevich -Northern Sound 2011)
This is a multi-part message in MIME format.--------------070803070606040108050408Content-Type: text/plain; charset=ISO-8859-1; format=flowedContent-Transfer-Encoding: 7bitHello List,Would someone be kind enough to explain the HIDEIF syntax below? I'm not following the use of all the pipes "|" and I can't find any example or explanation on the WebDNA Tech Ref page for [hideif]. http://www.webdna.us/page.dna?numero=179.Thank you,SteveKenneth Grome wrote:> [hideif |5|6|12|^|[orderstatus]|]>> [/hideif]>> This code will work fine. It will hide only exact matches > when [orderstatus] is 5 or 6 or 12. It is probably more > efficient than the alternate if / then / else solution.>>> --------------070803070606040108050408Content-Type: text/html; charset=ISO-8859-1Content-Transfer-Encoding: 7bit Hello List,

Would someone be kind enough to explain the HIDEIF syntax below? I'mnot following the use of all the pipes "|" and I can't find any exampleor explanation on the WebDNA Tech Ref page for [hideif].http://www.webdna.us/page.dna?numero=179.

Thank you,
Steve


Kenneth Grome wrote:
[hideif |5|6|12|^|[orderstatus]|][/hideif]This code will work fine.  It will hide only exact matches when [orderstatus] is 5 or 6 or 12.  It is probably more efficient than the alternate if / then / else solution.  
--------------070803070606040108050408-- Steve Raslevich -Northern Sound

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:

Date search - yes or no (1997) emailer (1997) Weird bug, or is there something amiss? (1997) Convertchars Problem (2004) [OT] MacOs IE5 topmargin and leftmargin bug (2000) [WebDNA] Screen Resolution - detection & redirect (2012) emailer (1997) Cleaner URLs (2003) Re[2]: Strange database format import (2000) [/application] error? (1997) WebCatalog 2.0 b 15 mac (1997) RFE: [include file=filename.inc&strip=t] (2002) WebMerchant? (1998) Merging databases (1997) Running 2 two WebCatalog.acgi's (1996) Webcat bannersleuth Qs (2001) Apache processes (2003) [isfile] ? (1997) problems with 2 tags (1997) remove line item (2000)