Re: variable value locked when passed to include

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 36953
interpreted = N
texte = But what is the value of [uname] after it exits the include file?I'll bet is now changed to someoneelse. (At least it was for me)I think this is strange behavior.Gene >A co-worked encountered this situation. I wanted some feedback from list... > >say i have code like this: >[include file=something.tpl&uname=me] > >and out in something.tpl, i have code that looks like: > >[uname] >[text show=F]uname=someoneelse[/text] >[uname] > >the output i get is: > >me >me > >it's as if the variable is read-only since i put it in the actual [include] >line. > > >------------------------------------------------------------- >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 >Web Archive of this list is at: http://search.smithmicro.com/ ------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: variable value locked when passed to include (Bob Minor 2001)
  2. Re: variable value locked when passed to include (Gene Beljaeff 2001)
  3. Re: variable value locked when passed to include (Bob McPeak 2001)
  4. Re: variable value locked when passed to include (Bob Minor 2001)
  5. Re: variable value locked when passed to include (Bob Minor 2001)
  6. variable value locked when passed to include (Bob McPeak 2001)
But what is the value of [uname] after it exits the include file?I'll bet is now changed to someoneelse. (At least it was for me)I think this is strange behavior.Gene >A co-worked encountered this situation. I wanted some feedback from list... > >say i have code like this: >[include file=something.tpl&uname=me] > >and out in something.tpl, i have code that looks like: > >[uname] >[text show=F]uname=someoneelse[/text] >[uname] > >the output i get is: > >me >me > >it's as if the variable is read-only since i put it in the actual [include] >line. > > >------------------------------------------------------------- >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 >Web Archive of this list is at: http://search.smithmicro.com/ ------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ Gene Beljaeff

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:

Database Locking?!? (2000) Field name-subcategory (1997) Date search bug (1998) UPDATE PROBLEM (1997) Converting characters to numbers ... (1997) emailer (1997) Date Bug (1998) Alternating BGColors in Table Rows (1998) Another webcatalog site!! (1997) Upload Plugin (1998) Robust WebDNA Job Manager / Accountant (2006) PCS Emailer's role ? (1997) Trouble with formula.db + more explanation (1997) Great product and great job ! (1997) WebCatalog 2.0 & WebDNA docs in HTML ... (1997) Math function in Formula.db (1997) [WebDNA] interesting bug webdna 6 (2012) Emailer (1997) Thanks and Big News!!! (1997) Am I going senile? (Price recalc based on quantity) (1997)