Re: Scope of variables in multi include files

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 30499
interpreted = N
texte = >What is the scope of a text variable set in an include. For example >if I set some variables based on a search in an include like so:Good question.All text and math variables have global scope. In English, that means no matter where you put [math]x=12[/math] or [text]name=fred[/text] in relation to include files (could be buried deep down in some nested includes), those same variables will be available later on in your WebDNA. The 'hit' to that template URL is the lifetime and scope of those types of variables.The variables go away as soon as the originating template goes away (basically as soon as the HTML gets sent back to the browser).Technical Support ********************************** Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) 16855 West Bernardo Drive, #380 | ------------------------- San Diego, CA 92127 | Software & Site Development WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************------------------------------------------------------------- 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: Scope of variables in multi include files (Anup setty 2000)
  2. Re: Scope of variables in multi include files (WebDNA Support 2000)
  3. Re: Scope of variables in multi include files (Kenneth Grome 2000)
  4. Re: Scope of variables in multi include files (Charles Kline 2000)
  5. Re: Scope of variables in multi include files (Kenneth Grome 2000)
  6. Scope of variables in multi include files (Charles Kline 2000)
>What is the scope of a text variable set in an include. For example >if I set some variables based on a search in an include like so:Good question.All text and math variables have global scope. In English, that means no matter where you put [math]x=12[/math] or [text]name=fred[/text] in relation to include files (could be buried deep down in some nested includes), those same variables will be available later on in your WebDNA. The 'hit' to that template URL is the lifetime and scope of those types of variables.The variables go away as soon as the originating template goes away (basically as soon as the HTML gets sent back to the browser).Technical Support ********************************** Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) 16855 West Bernardo Drive, #380 | ------------------------- San Diego, CA 92127 | Software & Site Development WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************------------------------------------------------------------- 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 WebDNA Support

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:

Founditems context returning only 1 item (1997) Need some Java Script Code (2003) RE: Writefile outside WebSTAR hierarchy? (1997) RE: Webcat 2.0.1b1 bug with IE 3.01/4.0p1 (1997) please unsubscribe me! (2000) The word TYPE in search contexts and fields (1998) RE: protect tag on NT (1997) Possible Bug in 2.0b15.acgi (1997) problem: mail changed (1997) The beginning (1997) [WebDNA] Protect TextArea and other Input-Fields with WebDNA - Something to talk about ;) (2009) [CART] inside a [LOOP] (1997) WebCat2b13MacPlugIn - More limits on [include] (1997) Comments in db? (1997) CT Scan might have saved my life!! (2006) WebCat2.0 acgi vs plugin (1997) text size limitation (1997) multi condition with showif (2005) [OT] MacOs IE5 topmargin and leftmargin bug (2000) listfiles, moving files (1998)