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 thestatement: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:
dont mean 2 b rude, but I have had this, and the value of [header40] in thestatement: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:
Sub Totals (2000)
WebCat on 10.0.4 - iTools 6.0 (2001)
Used to be good 4.5 to 6 code change (2004)
Trigger Woes (1999)
Found, but where? (2001)
E-Mailer (WebCatb15acgiMac) (1997)
Nested tags count question (1997)
Exclamation point (1997)
How to verify email address (1997)
Thanks for tips, more quest (1997)
truncating email part II (1997)
multi-paragraph fields (1997)
Emailer problem....still (1997)
Re[2]: Support suggestions - long (was politeness, et al) (2000)
RE: Web*SSL and WebCatalog (1997)
searching by date range help needed (1997)
[Fileinfo] Context (2000)
[OT] Display Glitch (2004)
WebCat2: Items xx to xx shown, etc. (1997)
WebCat2: Formulas.db question (1997)