Re: SHOWIF [var_with_backslash]^[value]

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 46494
interpreted = N
texte = Good idea again... Thanks,Chris-----Original Message----- From: Donovan Brooke [mailto:dbrooke@ehg.net] Sent: Thursday, December 26, 2002 9:46 AM To: WebDNA-Talk@talk.smithmicro.com Subject: Re: SHOWIF [var_with_backslash]^[value] I don't know what the precedence is... just wrap both comparisons in an [url][/url] context and you should be O.K.Donovan Chris List Recipient wrote:> Hmmm... then why wouldn't SHOW use instead the = token which appears > before the backslashes or the ^ token that appears after the backslashes? > (I.e., what is the precedence?) > > -Chris > > -----Original Message----- > From: Donovan Brooke [mailto:dbrooke@ehg.net] > Sent: Thursday, December 26, 2002 9:26 AM > To: WebDNA-Talk@talk.smithmicro.com > Subject: Re: SHOWIF [var_with_backslash]^[value] > > Chris, > the \ is a peramiter of the [showif] context... > thust its trying to parse \ as divisible by in > the context. > > Donovan > > Chris List Recipient wrote: > > > Perhaps it is the Christmas haze, but why is this shown since the text > value > > of OPTIONSTR does not contain OPTIONNAME? If I change the backslashes to > > slashes then it functions as I would expect (does not SHOW). > > > > Code: > > > > [TEXT]optionstr=FNAME=custom\pages\search.tpl[/TEXT] > > [TEXT]optionname=OTHEROPT[/TEXT] > > [SHOWIF [optionstr]^[optionname]] > > Shown with: SHOWIF [optionstr]^[optionname] > > [/SHOWIF] > > > > Output: > > > > Shown with: SHOWIF FNAME=custom\pages\search.tpl^OTHEROPT > > > > ------------------------------------------------------------- ------------------------------------------------------------- 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:

    
  1. Re: SHOWIF [var_with_backslash]^[value] (Chris List Recipient 2002)
  2. Re: SHOWIF [var_with_backslash]^[value] (Chris List Recipient 2002)
  3. Re: SHOWIF [var_with_backslash]^[value] (Donovan Brooke 2002)
  4. Re: SHOWIF [var_with_backslash]^[value] (Gary Krockover 2002)
  5. Re: SHOWIF [var_with_backslash]^[value] (Chris List Recipient 2002)
  6. Re: SHOWIF [var_with_backslash]^[value] (Donovan Brooke 2002)
  7. SHOWIF [var_with_backslash]^[value] (Chris List Recipient 2002)
Good idea again... Thanks,Chris-----Original Message----- From: Donovan Brooke [mailto:dbrooke@ehg.net] Sent: Thursday, December 26, 2002 9:46 AM To: WebDNA-Talk@talk.smithmicro.com Subject: Re: SHOWIF [var_with_backslash]^[value] I don't know what the precedence is... just wrap both comparisons in an [url][/url] context and you should be O.K.Donovan Chris List Recipient wrote:> Hmmm... then why wouldn't SHOW use instead the = token which appears > before the backslashes or the ^ token that appears after the backslashes? > (I.e., what is the precedence?) > > -Chris > > -----Original Message----- > From: Donovan Brooke [mailto:dbrooke@ehg.net] > Sent: Thursday, December 26, 2002 9:26 AM > To: WebDNA-Talk@talk.smithmicro.com > Subject: Re: SHOWIF [var_with_backslash]^[value] > > Chris, > the \ is a peramiter of the [showif] context... > thust its trying to parse \ as divisible by in > the context. > > Donovan > > Chris List Recipient wrote: > > > Perhaps it is the Christmas haze, but why is this shown since the text > value > > of OPTIONSTR does not contain OPTIONNAME? If I change the backslashes to > > slashes then it functions as I would expect (does not SHOW). > > > > Code: > > > > [text]optionstr=FNAME=custom\pages\search.tpl[/TEXT] > > [text]optionname=OTHEROPT[/TEXT] > > [SHOWIF [optionstr]^[optionname]] > > Shown with: SHOWIF [optionstr]^[optionname] > > [/SHOWIF] > > > > Output: > > > > Shown with: SHOWIF FNAME=custom\pages\search.tpl^OTHEROPT > > > > ------------------------------------------------------------- ------------------------------------------------------------- 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/ Chris List Recipient

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:

[WebDNA] [lookup returning nothing at all.. not even the notfound param. (2010) Sorting like UBB (2003) RE: Cart Template (1997) New Command prefs ... (1997) Multiple prices (1997) PCS Frames (1997) searchable list archive (1997) Email and name capture (1999) WebCat2 Append problem (B14Macacgi) (1997) Date problems (1997) Strange Search Results (2004) Summing fields (1997) RE: FileMaker and WebCat (1999) Robots fill event log (1997) Quit revisited (1997) Great product and great job ! (1997) WebCatalog for guestbook ? (1997) setting cookies for another domain? (2002) checksum for credit cards? (1997) corrupted jpgs (2003)