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:

[WebDNA] Fails to recognize comma-separated db (2010) Multi Colonns (1998) WebCat2 as a chat server? (1997) Formating found categories (1997) Will webdna execute before a [redirect]? (1999) t or f (1997) Sending & and other chars thru an append context (2002) [WriteFile] problems (1997) Opinion: [input] should be called [output] ... (1997) RE: OK, here goes... (1997) Moment of Thanks (1997) Code database (1998) Separate SSL Server (1997) Three new problems, maybe a fourth (1997) [isfile] ? (1997) Webcatalog acgi conflict? (1999) Web Catalog 2 demo (1997) Multiple cart additions (1997) Append (1999) ShowIf variables (1997)