Re: [WebDNA] Check if variable is blank or is raw or third condition

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105135
interpreted = N
texte = > Still a > little confused as to why there is an extra pipe next to the hideif that first double pipe is not extra.. it is there to account for the case where [t_username] = [blank] (i.e. null, zero chars in length) ..imagine [t_username] was set to [blank].. would the [hideif] do its job of hiding? It only does on account of that double pipe at the start of the comparison. Try sticking in each of the 3 vals you wanted to check for, wherever you have [t_username] in that comparison,.. and parse it out in your head.. is the statement true or not? ------------ Govinda govinda.webdnatalk@gmail.com Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Check if variable is blank or is raw or third condition (Govinda 2010)
  2. Re: [WebDNA] Check if variable is blank or is raw or third condition (Mike Sargent 2010)
  3. Re: [WebDNA] Check if variable is blank or is raw or third condition (Kenneth Grome 2010)
  4. Re: [WebDNA] Check if variable is blank or is raw or third condition (Donovan Brooke 2010)
  5. Re: [WebDNA] Check if variable is blank or is raw or third condition (Govinda 2010)
  6. [WebDNA] Check if variable is blank or is raw or third condition (Mike Sargent 2010)
> Still a > little confused as to why there is an extra pipe next to the hideif that first double pipe is not extra.. it is there to account for the case where [t_username] = [blank] (i.e. null, zero chars in length) ..imagine [t_username] was set to [blank].. would the [hideif] do its job of hiding? It only does on account of that double pipe at the start of the comparison. Try sticking in each of the 3 vals you wanted to check for, wherever you have [t_username] in that comparison,.. and parse it out in your head.. is the statement true or not? ------------ Govinda govinda.webdnatalk@gmail.com Govinda

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:

Multiple Ad databases? (1997) math variable security (2000) Custom WebCat Prefs ... (1997) [taxRate] [TaxTotal] ? (1997) Pithy questions on webcommerce & siteedit (1997) Calculating multiple shipping... (1997) Re2: frames & carts (1997) [WebDNA] WebDNA restart script (2015) [WebDNA] Version 7 Config problem (2011) Opps, message about deleting (2000) Web Developer Product Awards (1997) ExclusiveLock (2000) template not found error (1998) WebCat2: Items xx to xx shown, etc. (1997) I need Typhoon Pro Tonight! (1999) Surprise x and y post args (1998) Country & Ship-to address & other fields ? (1997) Authenticate (2000) Signal Raised (1997) Universal root for WC errors? (1997)