Re: SHOWIF [var_with_backslash]^[value]

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 46489
interpreted = N
texte = 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.DonovanChris 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)
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.DonovanChris 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:

Trigger alternatives please ... (2004) Using Applescript to process WebCatalog functions (1998) Date search - yes or no (1997) 2.0Beta Command Ref (can't find this instruction) (1997) Searching multiple fields from one form field (1997) Smart caching problems with 2.1b3? (1997) syntax question, not in online refernce (1997) oops private message leaked into talk list (1997) RAM variables (1997) Bug Report, maybe (1997) WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997) [ot] table gap help?!? (2001) [Announce] Newest Commerce Site based on WebCatalog (1997) Ampersands in database fields? (1998) WebCatalog and directory indexing (1998) Beta version-Mac? (was Emailer update for Mac?) (1998) file upload type restrictions? (2001) RE: Suggestions for Topics to be covered in an Advanced WebDNACourse... (1998) proper way to check if a container is empty? (2000) Password Generator (2004)