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

This WebDNA talk-list message is from

2011


It keeps the original formatting.
numero = 107814
interpreted = N
texte = This is a multi-part message in MIME format.--------------010804080806050203020409Content-Type: text/plain; charset=ISO-8859-1; format=flowedContent-Transfer-Encoding: 7bitNow it makes sense. I saw the "|" as "OR" as it is used in the If/Then/Else context and not as a separator as Chris mentions below.Thanks everyone for replying!christophe.billiottet@webdna.us wrote:> The pipe symbol in this hack doesn't really mean anything special except that it is a unique (and unlikely) character. In other words, it can be any character really. The choice here is confusing because the pipe in the [if] [then] [else] context is a documented logical "OR".>> - chris>>>> On Dec 15, 2011, at 14:41, Govinda wrote:>> >>> The "^" character is a "contains" character.>>>>>> So in:>>> |5|6|12|^|[orderstatus]|>>>>>> if [orderstatus]=6>>>>>> Then the string "|5|6|12|" contains "|6|".. which>>> turns into a true match.>>>>>> The pipe can be any character.>>> >> ...that is... any character that you know you will not find in the string you are checking. I.e. choose a delimiter that you KNOW will be a delimiter >> --------------010804080806050203020409Content-Type: text/html; charset=ISO-8859-1Content-Transfer-Encoding: 7bit Now it makes sense. I saw the 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.--------------010804080806050203020409Content-Type: text/plain; charset=ISO-8859-1; format=flowedContent-Transfer-Encoding: 7bitNow it makes sense. I saw the "|" as "OR" as it is used in the If/Then/Else context and not as a separator as Chris mentions below.Thanks everyone for replying!christophe.billiottet@webdna.us wrote:> The pipe symbol in this hack doesn't really mean anything special except that it is a unique (and unlikely) character. In other words, it can be any character really. The choice here is confusing because the pipe in the [if] [then] [else] context is a documented logical "OR".>> - chris>>>> On Dec 15, 2011, at 14:41, Govinda wrote:>> >>> The "^" character is a "contains" character.>>>>>> So in:>>> |5|6|12|^|[orderstatus]|>>>>>> if [orderstatus]=6>>>>>> Then the string "|5|6|12|" contains "|6|".. which>>> turns into a true match.>>>>>> The pipe can be any character.>>> >> ...that is... any character that you know you will not find in the string you are checking. I.e. choose a delimiter that you KNOW will be a delimiter >> --------------010804080806050203020409Content-Type: text/html; charset=ISO-8859-1Content-Transfer-Encoding: 7bit Now it makes sense. I saw the 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:

emailer on Windows Beta 18 (1997) Emailer [cart] file names (1997) [WebDNA] EMailFolder/ (2016) Shopping problems with 2.1b3 acgi (1997) Emailer choke (1997) Tracking inbound links for discounts (1997) convert characters (2003) Displaying photo attached to first record (1997) ' add to cart ' or ' sku ' problem (1998) RE: FileMaker and WebCat (1999) [WebDNA] grep again (2010) bugs w/! &/or bad scripting??? (1997) Two options to consider (2008) WebDNA Windows 5.0 sendmail bug (2003) off topic fetch vs PCS photomaster (1997) SSL Certificates (2004) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) MySQL (2003) Code shows all, but should not (2003) taxRate is fine but taxTotal isn't (1997)