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 beadded to the 'inherit' list for [Spawned] code:Table objectsArray objectsXML/XSL objectsTo late to get these into the 5.1e patch, but we will add them in a futurerelease/patch.-----Original Message-----From: Brian Fries [mailto:webdna@brainscansoftware.com]Sent: Tuesday, September 09, 2003 10:17 AMTo: WebDNA-Talk@talk.smithmicro.comSubject: SPAWN does not inherit functionsWarning 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 viaa "Pre-Parse" script.The workaround is to define or include the function code within thespawn context itself (even if already defined outside the context).SMSI: It seems to me that functions should be inherited, as are textand 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 toWeb 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:
Yes. Actually, there are a number of new variable types that need to beadded to the 'inherit' list for [Spawned] code:Table objectsArray objectsXML/XSL objectsTo late to get these into the 5.1e patch, but we will add them in a futurerelease/patch.-----Original Message-----From: Brian Fries [mailto:webdna@brainscansoftware.com]Sent: Tuesday, September 09, 2003 10:17 AMTo: WebDNA-Talk@talk.smithmicro.comSubject: SPAWN does not inherit functionsWarning 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 viaa "Pre-Parse" script.The workaround is to define or include the function code within thespawn context itself (even if already defined outside the context).SMSI: It seems to me that functions should be inherited, as are textand 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 toWeb 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:
question: webmerchant connection (1997)
What am I missing (1997)
Number of Feilds Passed to [append] (2000)
Trying to evaluate data that is stored in an indexed variable... (2000)
WebCat2: Items xx to xx shown, etc. (1997)
[OT] Bush's Cyberensive (2003)
Include vs. lookup? (1998)
[WebDNA] Problems with WebCatalogCtl command (2009)
Couple of techno questions (1999)
something simple? (1998)
RE: Any limit to [include] (1997)
Searchable list archive (1997)
Electronic Delivery (1997)
redirect with frames (1997)
upload weirdness in IE only (2005)
WCS Newbie question (1997)
triggering an update of two frames (1998)
More Hide IFs (2000)
Strange intermittent WebDNA problems (2008)
WC2.0 Memory Requirements (1997)