Re: SPAWN does not inherit functions

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 52721
interpreted = N
texte = Yes. Actually, there are a number of new variable types that need to be added to the 'inherit' list for [Spawned] code: Table objects Array objects XML/XSL objects To late to get these into the 5.1e patch, but we will add them in a future release/patch. -----Original Message----- From: Brian Fries [mailto:webdna@brainscansoftware.com] Sent: Tuesday, September 09, 2003 10:17 AM To: WebDNA-Talk@talk.smithmicro.com Subject: SPAWN does not inherit functions Warning to any 5.x users using functions and spawn... SPAWN'ed code does not inherit functions from the parent template, whether defined locally, included from an include file, or defined via a "Pre-Parse" script. The workaround is to define or include the function code within the spawn context itself (even if already defined outside the context). SMSI: It seems to me that functions should be inherited, as are text and math variables. Can this be changed for future releases? Thanks, brian -- Brian Fries, BrainScan Software -- http://www.brainscansoftware.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://webdna.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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: SPAWN does not inherit functions ( "Scott Anderson" 2003)
  2. SPAWN does not inherit functions ( Brian Fries 2003)
Yes. Actually, there are a number of new variable types that need to be added to the 'inherit' list for [Spawned] code: Table objects Array objects XML/XSL objects To late to get these into the 5.1e patch, but we will add them in a future release/patch. -----Original Message----- From: Brian Fries [mailto:webdna@brainscansoftware.com] Sent: Tuesday, September 09, 2003 10:17 AM To: WebDNA-Talk@talk.smithmicro.com Subject: SPAWN does not inherit functions Warning to any 5.x users using functions and spawn... SPAWN'ed code does not inherit functions from the parent template, whether defined locally, included from an include file, or defined via a "Pre-Parse" script. The workaround is to define or include the function code within the spawn context itself (even if already defined outside the context). SMSI: It seems to me that functions should be inherited, as are text and math variables. Can this be changed for future releases? Thanks, brian -- Brian Fries, BrainScan Software -- http://www.brainscansoftware.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://webdna.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://webdna.smithmicro.com/ "Scott Anderson"

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:

PSC recommends what date format yr 2000??? (1997) GMT Offset (2005) WebCat2: Items xx to xx shown, etc. (1997) Firesite and [referrer] atg broke (1997) Cart vs database (1998) emailer settings and control questions (1997) re: [addlineitem] working almost (1997) Nested tags count question (1997) Cart Question (1998) Carrying Forward (1998) Using Currencies other than Dollars (1997) WebMerchant & Online CC Auths (1999) [WebDNA] snow (2009) Release of 2.01? (1997) [ShowIf] and empty fields (1997) [WebDNA] WebDNA FastCGI (2012) Help formatting search results w/ table (1997) [OT] Site launch (2004) Country & Ship-to address & other fields ? (1997) User/pass with tcpconnect (2000)