Re: ListVariables Problem
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 50412
interpreted = N
texte = on 5/15/2003 1:59 pm, P at p@edell.co.uk so noted...> So to be clear, why is this wrong: how is it scrambling?> > [ListVariables][text][name]=[value][/text][index]:[name]=[value]
[/> ListVariables]> > Are you saying that putting [name] and [value] twice in the> [listvariables] context is messing up results?I think the first question would be why are you doing this?You have variables of:[text]var1=red[/text][text]var2=orange[/text][text]var3=yellow[/text]etc...By doing [ListVariables][text][name]=[value][/text][/ListVariables] it'strying to reassign the text variables with the same value they alreadycontain. Even if it worked correctly, nothing would be changed, so what's togain?With other iterative WebDNA contexts, it's been shown that making changes todata while inside the context that's looping through the *same* data canhave unexpected results. [Listvariables] seems to be another one.Putting [name] and [value] twice in the [Listvariables] context isn'tmessing up the results, putting [text][name]=[value][/text] *any* number oftimes within the context is the issue.Rob MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.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:
on 5/15/2003 1:59 pm, P at p@edell.co.uk so noted...> So to be clear, why is this wrong: how is it scrambling?> > [listvariables][text][name]=[value][/text][index]:[name]=[value]
[/> ListVariables]> > Are you saying that putting [name] and [value] twice in the> [listvariables] context is messing up results?I think the first question would be why are you doing this?You have variables of:[text]var1=red[/text][text]var2=orange[/text][text]var3=yellow[/text]etc...By doing [listvariables][text][name]=[value][/text][/ListVariables] it'strying to reassign the text variables with the same value they alreadycontain. Even if it worked correctly, nothing would be changed, so what's togain?With other iterative WebDNA contexts, it's been shown that making changes todata while inside the context that's looping through the *same* data canhave unexpected results. [listvariables] seems to be another one.Putting [name] and [value] twice in the [listvariables] context isn'tmessing up the results, putting [text][name]=[value][/text] *any* number oftimes within the context is the issue.Rob MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.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/
Rob Marquardt
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:
OFF-TOPIC: Check www.godaddy.com for me ... (2003)
WCS Newbie question (1997)
[WebDNA] Multiplication Math Test (2008)
WebDNA security (2004)
RE: Answer: WebDelivery downloads alias, not original ? (1997)
[WebDNA] Webdna and Static pages (2018)
[WebDNA] WebDNA FastCGI (2012)
[WebDNA] Cookie behavior (2010)
LookUp Tag (1997)
Search returns all, not 20 (1997)
Next X hits (1996)
Cancel Subscription (1996)
Math (1997)
weight based shipping cost questions (1997)
groups and [ShowNext] (1997)
can WC render sites out? (1997)
Webcat 3.0.5b9, b8 trigger failures ON WEBSTAR (1999)
Seeking Better Display of results... (1997)
Separate SSL Server (1997)
4D Database (1997)