Re: Quick ShowIf question
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 13179
interpreted = N
texte = >[ShowIf [somevariable]![somevariable]]The variable somevariable has>been assigned the value of [somevariable].[/ShowIf]Ken is right; this WebDNA will always think both side of the ! equation are the same, because it will always stick the exact same value on both sides. But you can use [Raw] to force one side to be taken literally:[ShowIf [somevariable]![Raw][somevariable][/Raw]]Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors =====Pacific Coast Software | WebCatalog Pro, WebCommerce Solution11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
>[ShowIf [somevariable]![somevariable]]The variable somevariable has>been assigned the value of [somevariable].[/ShowIf]Ken is right; this WebDNA will always think both side of the ! equation are the same, because it will always stick the exact same value on both sides. But you can use
[raw] to force one side to be taken literally:[ShowIf [somevariable]!
[raw][somevariable][/Raw]]Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors =====Pacific Coast Software | WebCatalog Pro, WebCommerce Solution11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Grant Hulbert
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:
Sorting Results (1999)
Soft return (2001)
Adding up line items. (2000)
problems with 2 tags shakur (1997)
Odd
WebCat2b15MacPlugin - [protect] (1997)
[WebDNA] possible bug? (db field named [width]) (2012)
webcat list slow? (1998)
[WriteFile] problems (1997)
caching -check- (2001)
Date and Time (2005)
[Sum] function? (1997)
New command suggestion (1997)
an easy one... (2000)
[WebDNA] Formatting numbers - truncation instead of rounding (2011)
WC2.0 Memory Requirements (1997)
READFILE command? (1998)
problems with 2 tags (1997)
Caching [include] files ... (1997)
with Link i need to (1997)