SPAWN does not inherit functions

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 52712
interpreted = N
texte = 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/ 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)
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/ Brian Fries

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:

Sendmail problem (2001) (2000) Frames and WebCat (1997) pc (1997) [WebDNA] PayPal IPN - solved (2009) Help name our technology! (1997) error -108 (1997) Lookup Notfound (1998) Customer loyalty scheme (2005) Web Site (2000) Nested tags count question (1997) Authenticate (1997) [GROUPS] followup (1997) selectively replacing records within a [founditems] (2000) Trouble changing a variable. (2000) Where is the secure setting for text variables? (2003) Fun with dates (1997) listfields for a table (2007) How To question on setting up downloads (1997) [WebDNA] WebDNA 7 (2011)