Re: [WebDNA] feature suggestion
This WebDNA talk-list message is from 2011
It keeps the original formatting.
numero = 106814
interpreted = N
texte = BTW, don't do this> [showif [var]=3D[raw][var][/raw]]THIS ONE IS UNDEFINED[/showif]What happens if you set var to T=3DT OR 3>2 OR we rock! yes we =do.=20Bad things. That's what happens. Bad things. And we don't want bad =things to happen, do we? No we don't.=20Always [URL] variables before comparing them. : )Brian.=20On Jun 23, 2011, at 3:23 PM, William DeVaul wrote:> Actually, that code treats them as equivalent in the result. I was> thinking more like:>=20> [showif [var]=3D[raw][var][/raw]]THIS ONE IS UNDEFINED[/showif]>=20> or>=20> [showif [var]=3D]THIS ONE IS BLANK[/showif]>=20> resulting in different conditions.>=20> Bill
Associated Messages, from the most recent to the oldest:
BTW, don't do this> [showif [var]=3D
[raw][var][/raw]]THIS ONE IS UNDEFINED[/showif]What happens if you set var to T=3DT OR 3>2 OR we rock! yes we =do.=20Bad things. That's what happens. Bad things. And we don't want bad =things to happen, do we? No we don't.=20Always
[url] variables before comparing them. : )Brian.=20On Jun 23, 2011, at 3:23 PM, William DeVaul wrote:> Actually, that code treats them as equivalent in the result. I was> thinking more like:>=20> [showif [var]=3D
[raw][var][/raw]]THIS ONE IS UNDEFINED[/showif]>=20> or>=20> [showif [var]=3D]THIS ONE IS BLANK[/showif]>=20> resulting in different conditions.>=20> Bill
"Brian B. Burton"
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:
WebCat2b12--[searchstring] bug (1997)
WebDNA/Tenon server consulting near DC (2003)
PIXO support (1997)
Searching multiple fields (1997)
&FieldNametype=time unnecessary? (2000)
WebCat2b15MacPlugin - [protect] (1997)
Frames and WebCat (1997)
WC2b15 File Corruption (1997)
Quick ShowIf question (1997)
Deleting Orders (1997)
Server Load Tester (2000)
Mondo amounts of Mail [long] (1999)
syntax question, not in online refernce (1997)
passing search criteria (1997)
products db philosophy (2001)
WebCat2b15MacPlugin - showing [math] (1997)
How to verify email address (1997)
Grep two things at once? (2005)
RE: Multiple Stores and WebCatalog Prefs (1997)
Credit card processing - UK (1997)