Re: spawn
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 20878
interpreted = N
texte = But doesn't the [SPAWN] have to wait to start until the WebDNA before itgets processed, or does it start immediately?I'm thinking that if I have [search] set a [text] or [math] variable beforethe [spawn], then the [spawn] could use that variable.And in the case of a [SPAWN] nested in a [Search], I only need the variableto be set by the search, then I want to [SPAWN] to go do its thing with it.That is why I was wondering about [SPAWN variable=[variable]]. As long asthe [SPAWN] knows the value of variable, it shouldn't need the [SEARCH]string to complete its task. Or does it?>Yes, the spawned WebDNA is sort of like it's own separate page -- a>completely separate entity. For instance, you can imagine if the spawn-ed>thread were to 'live' longer than the [Search] container you used it from,>then it would be impossible for it to get at those no-longer-existing>values from the search. Same with math: all math variables 'belong' to the>template they are used in, but a spawned process is considered to be its>own template entirely. _________________________________ trevor crist inntopia.com, inc. stowe, vermont 802.253.2905 800.951.2414 http://www.inntopia.com
Associated Messages, from the most recent to the oldest:
But doesn't the
[spawn] have to wait to start until the WebDNA before itgets processed, or does it start immediately?I'm thinking that if I have
[search] set a
[text] or
[math] variable beforethe
[spawn], then the
[spawn] could use that variable.And in the case of a
[spawn] nested in a
[search], I only need the variableto be set by the search, then I want to
[spawn] to go do its thing with it.That is why I was wondering about [SPAWN variable=[variable]]. As long asthe
[spawn] knows the value of variable, it shouldn't need the
[search]string to complete its task. Or does it?>Yes, the spawned WebDNA is sort of like it's own separate page -- a>completely separate entity. For instance, you can imagine if the spawn-ed>thread were to 'live' longer than the
[search] container you used it from,>then it would be impossible for it to get at those no-longer-existing>values from the search. Same with math: all math variables 'belong' to the>template they are used in, but a spawned process is considered to be its>own template entirely. _________________________________ trevor crist inntopia.com, inc. stowe, vermont 802.253.2905 800.951.2414 http://www.inntopia.com
Trevor Crist
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:
Nesting format tags (1997)
Error: Permision deny. (2005)
Off-Topic: Automatic FTP scripts for OSX (2003)
REPOST: The old multiple selection bit (2000)
WebTV problems with WebCatalog?? (1998)
local IIS setup (2004)
Smith Micro Site (2000)
Double Spacing in Mails from Sendmail (2002)
Setting up shop (1997)
Shopping with Accounts (2003)
Sendmail truncation in Eudora Clients (1998)
find with exceptions (1997)
UPS uber integration (2007)
Header Values won't take. (1998)
WebCat2 - [include] tags (1997)
Dark Horse Comics success story (1997)
[WebDNA] Store module/site (2012)
WCS Newbie question (1997)
Apache 2 (2002)
select multiple 2 more cents (1997)