Re: apparent variable variable display?

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 31310
interpreted = N
texte = dont mean 2 b rude, but I have had this, and the value of [header40] in the statement: header40=[header40] ...had a null value itself!> From: John Butler > Reply-To: (WebCatalog Talk) > Date: Wed, 03 May 2000 11:46:16 > To: (WebCatalog Talk) > Subject: apparent variable variable display? > > I finding something inconsistent, tho it might be my brain...? > I want to do something if one of the orderfile headers has not yet been given > a value. > I have successfully been using this- > > [showif [Header1]=[raw][Header1][/raw]] > do stuff > [/showif] > > But when I stick this on my template- > > Header40=[Header40] > > Then it returns- > Header40= > > so which is it? Do undefined orderfile headers display as the null string > (like empty > db fields), or do they display as uninitialized vars, like [somevar]? > If the former then why does my showif above evaluate to true? > > -John > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. Re: apparent variable variable display? (John Butler 2000)
  2. Re: apparent variable variable display? (John Butler 2000)
  3. Re: apparent variable variable display? (John Peacock 2000)
  4. Re: apparent variable variable display? (John Butler 2000)
  5. Re: apparent variable variable display? (John Peacock 2000)
  6. Re: apparent variable variable display? (Rob Marquardt 2000)
  7. apparent variable variable display? (John Butler 2000)
  8. Re: apparent variable variable display? (John Peacock 2000)
  9. Re: apparent variable variable display? (Scott Tolley 2000)
dont mean 2 b rude, but I have had this, and the value of [header40] in the statement: header40=[header40] ...had a null value itself!> From: John Butler > Reply-To: (WebCatalog Talk) > Date: Wed, 03 May 2000 11:46:16 > To: (WebCatalog Talk) > Subject: apparent variable variable display? > > I finding something inconsistent, tho it might be my brain...? > I want to do something if one of the orderfile headers has not yet been given > a value. > I have successfully been using this- > > [showif [Header1]=[raw][Header1][/raw]] > do stuff > [/showif] > > But when I stick this on my template- > > Header40=[Header40] > > Then it returns- > Header40= > > so which is it? Do undefined orderfile headers display as the null string > (like empty > db fields), or do they display as uninitialized vars, like [somevar]? > If the former then why does my showif above evaluate to true? > > -John > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Scott Tolley

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:

Help! WebCat2 bug (1997) using showpage and showcart commands (1996) FAX orders (1996) shownext and searches (2002) RE: WebCat cannot handle compatible search parameters? (1997) [delete] problem (2002) Running _every_ page through WebCat ? (1997) Add a field to the error log? (1997) Associative lookup style? (1997) elmer fudd (2004) Grep not working, shows [grep] in browser (2000) WebDNA v6.0 MS SQL Server timeframe (2004) db creator (2000) Multiple cart additions (1997) Sales Tax db (1998) [include file] wrong path or syntax when using / referingtoothe root (2002) Table Trouble... (2005) READFILE command? (1998) shownext not showing next...still r2 (1997) IIS4 (1998)