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 was thinking 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. Bill On 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:

    
  1. Re: [WebDNA] feature suggestion (Olin Lagon 2011)
  2. Re: [WebDNA] feature suggestion (William DeVaul 2011)
  3. Re: [WebDNA] feature suggestion ("Brian B. Burton" 2011)
  4. Re: [WebDNA] feature suggestion (William DeVaul 2011)
  5. Re: [WebDNA] feature suggestion - long response (Govinda 2011)
  6. Re: [WebDNA] feature suggestion (Govinda 2011)
  7. Re: [WebDNA] feature suggestion - long response (William DeVaul 2011)
  8. Re: [WebDNA] feature suggestion (William DeVaul 2011)
  9. Re: [WebDNA] feature suggestion - long response (Tom Duke 2011)
  10. Re: [WebDNA] feature suggestion - long response (Ronald Kirkland 2011)
  11. Re: [WebDNA] feature suggestion - long response (Ronald Kirkland 2011)
  12. Re: [WebDNA] feature suggestion - long response ("Brian B. Burton" 2011)
  13. Re: [WebDNA] feature suggestion - long response (Kenneth Grome 2011)
  14. Re: [WebDNA] feature suggestion - long response ("Brian B. Burton" 2011)
  15. Re: [WebDNA] feature suggestion (Kenneth Grome 2011)
  16. Re: [WebDNA] feature suggestion (William DeVaul 2011)
  17. Re: [WebDNA] feature suggestion (William DeVaul 2011)
  18. Re: [WebDNA] feature suggestion (Aaron Michael Kaczmarek 2011)
  19. Re: [WebDNA] feature suggestion ("Brian B. Burton" 2011)
  20. Re: [WebDNA] feature suggestion (Brian Fries 2011)
  21. Re: [WebDNA] feature suggestion ("Brian B. Burton" 2011)
  22. Re: [WebDNA] feature suggestion (Govinda 2011)
  23. [WebDNA] feature suggestion ("Brian B. Burton" 2011)
Actually, that code treats them as equivalent in the result. I was thinking 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. Bill On 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)