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:
A multi-processor savvy WebCatalog? (1997)
unable to run webcatalog locally (1998)
wierd [cart] action! (1997)
webcat- multiple selection in input field (1997)
Missing from Docs [folderName] (1997)
Customer - again (1998)
emailer error -108 (1997)
[OT] Bookmarking code (2003)
[Webcat 2]Next (1997)
Undeliverable Mail (1997)
listfiles-looking for slick solution (1997)
WebCat2 beta FTP site (1997)
WCS Newbie question (1997)
Is there a max number of fields? (1998)
FM and Webcat together? (1998)
EIMS Problems (1997)
Location of Browser Info.txt file (1997)
Generating Options for a Form. (1997)
Only charge card when product shipped ? (1997)
Extended [ConvertChars] (1997)