Re: [WebDNA] feature suggestion
This WebDNA talk-list message is from 2011
It keeps the original formatting.
numero = 106812
interpreted = N
texte = Actually, that code treats them as equivalent in the result. I wasthinking more like:[showif [var]=3D[raw][var][/raw]]THIS ONE IS UNDEFINED[/showif]or[showif [var]=3D]THIS ONE IS BLANK[/showif]resulting in different conditions.BillOn Thu, Jun 23, 2011 at 11:28 AM, Govinda
wr=ote:>>>> I'm curious, does anyone distinguish between "" (or blank) and nil>> (undefined) in WebDNA?>>>> well, sure.. by using (for example) the long-winded method that Brian sta=rted this thread with (his wanting to make it simpler with a [? abc] functi=on).> [if ("[URL][xxx][/URL]"=3D"") | ("[URL][xxx][/URL]"=3D"[URL][raw][xxx][/r=aw][/URL]")]> =A0 =A0 =A0 =A0[then]> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[!]---[xxx] is [blank] or undefined---[/!]> =A0 =A0 =A0 =A0[/then]> =A0 =A0 =A0 =A0[else]> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[!]---[xxx] is NOT [blank] nor undefined--=-[/!]> =A0 =A0 =A0 =A0[/else]> [/if]---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us>
Associated Messages, from the most recent to the oldest:
Actually, that code treats them as equivalent in the result. I wasthinking more like:[showif [var]=3D[raw][var][/raw]]THIS ONE IS UNDEFINED[/showif]or[showif [var]=3D]THIS ONE IS BLANK[/showif]resulting in different conditions.BillOn Thu, Jun 23, 2011 at 11:28 AM, Govinda wr=ote:>>>> I'm curious, does anyone distinguish between "" (or blank) and nil>> (undefined) in WebDNA?>>>> well, sure.. by using (for example) the long-winded method that Brian sta=rted this thread with (his wanting to make it simpler with a [? abc] functi=on).> [if ("[url][xxx][/URL]"=3D"") | ("[url][xxx][/URL]"=3D"[url][raw][xxx][/r=aw][/URL]")]> =A0 =A0 =A0 =A0[then]> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[!]---[xxx] is [blank] or undefined---[/!]> =A0 =A0 =A0 =A0[/then]> =A0 =A0 =A0 =A0[else]> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[!]---[xxx] is NOT [blank] nor undefined--=-[/!]> =A0 =A0 =A0 =A0[/else]> [/if]---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us>
William DeVaul
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:
[TaxableTotal] - not working with AOL and IE (1997)
Credit card payment processor (2004)
[WebDNA] Databases not staying open (2010)
BIG PROBLEMS with Checkboxes!!! (1998)
apparently to problem isolated (1997)
Trouble with formula.db (1997)
[SearchString] problem with [search] context (1997)
I need Typhoon Pro Tonight! (1999)
problems with 2 tags shakur (1997)
Text data with spaces in them... (1997)
WCS Newbie question (1997)
'does not contain' operator needed ... (1997)
PIXO support (1997)
searchable list archive (1997)
WebSite and *NO* Authentication Dialog Box!!? (1998)
Counting LineItems (2000)
WebCat2b12--[searchstring] bug (1997)
Help on multiple select fields (2002)
NYC-based WebDNA programmers (2003)
This list needs a digest: rant, rave... (1997)