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:

Spawn and upload (2004) [setheader] within [orderfile] (2001) WebCat2: multiple currency support (1997) HTML encoding in URLs (1997) Shipping Calculation Problem (1997) [isfile] ? (1997) retrieve header field (2001) WebSTAR virtual roots with . in the foldername (2000) no global [username] or [password] displayed ... (1997) WebCat2 - [format thousands] (1997) [setcookie] (2001) can WC render sites out? (1997) [WebDNA] High-profile WebDNA sites? (2008) SSL with IIS 4.0 (1998) Date Formats (1997) Force a number (1998) quantity minimum problem (1997) LOOP problem (2007) Next X hits (1996) [protect] on NT? (1997)