Re: SHOWIF [var_with_backslash]^[value]
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 46488
interpreted = N
texte = Chris,the \ is a peramiter of the [showif] context...thust its trying to parse \ as divisible by inthe 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/
Associated Messages, from the most recent to the oldest:
Chris,the \ is a peramiter of the [showif] context...thust its trying to parse \ as divisible by inthe 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/
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:
Hosts who have upgraded to v5.0? (2003)
WebCatalog host... (2000)
[WebDNA] v7 Stress Test and Strange Behaviour (2012)
Multiple SSL Keys (1998)
Showing unopened cart (1997)
P.S.: What kind of request is this? (2002)
Some Questions (1997)
Shipping.db (1998)
Credit card number for testing (2003)
spaces in [texta] (1998)
Applescript, WebDNA, and PDF (1997)
Problems problems problems (1997)
Newbie questions (1999)
[sendmail] possible modification needed... (2000)
[WebDNA] MD5 Hash issue (2009)
Multiple Stores and WebCatalog Prefs (1997)
Help name our technology! (1997)
Why is this not false? (2001)
Server Freeze...not always (1998)
Bug - 4.5 (2002)