Re: SHOWIF [var_with_backslash]^[value]

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 46492
interpreted = N
texte = 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/ 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)
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/ Donovan Brooke

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:

followup (2002) PIXO Support (1997) Include vs. lookup? (1998) Word wrapping (1997) WebCat2b13MacPlugin - nested [xxx] contexts (1997) displaying New products (Yikes! it's Fixed!) (1997) [MATH SHOW=F]. show=f does what? (1999) [WebDNA] email stops sending (2008) page redirect in webDNA (1997) [applescript] (1999) Web Catalog vs. ICAT (1997) Running _every_ page through WebCat-error.html (1997) [WebDNA] Brian Harrington (2019) Listserver problem (1997) Where is f2? (1997) Lookup command (1998) autosensing lanague selection (1997) Formulas.db + Users.db (1997) wierd [cart] action! (1997) [click][/click] (1999)