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's trying to reassign the text variables with the same value they already contain. Even if it worked correctly, nothing would be changed, so what's to gain?With other iterative WebDNA contexts, it's been shown that making changes to data while inside the context that's looping through the *same* data can have unexpected results. [Listvariables] seems to be another one.Putting [name] and [value] twice in the [Listvariables] context isn't messing up the results, putting [text][name]=[value][/text] *any* number of times within the context is the issue. Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.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:

    
  1. Re: ListVariables Problem (Rob Marquardt 2003)
  2. Re: ListVariables Problem (P 2003)
  3. Re: ListVariables Problem (dbrooke 2003)
  4. Re: ListVariables Problem (dbrooke 2003)
  5. Re: ListVariables Problem (Alex McCombie 2003)
  6. Re: ListVariables Problem (Rob Marquardt 2003)
  7. Re: ListVariables Problem (Rob Marquardt 2003)
  8. Re: ListVariables Problem (John Peacock 2003)
  9. Re: ListVariables Problem (P 2003)
  10. Re: ListVariables Problem (Rob Marquardt 2003)
  11. Re: ListVariables Problem (Laurent Bache 2003)
  12. ListVariables Problem (P 2003)
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's trying to reassign the text variables with the same value they already contain. Even if it worked correctly, nothing would be changed, so what's to gain?With other iterative WebDNA contexts, it's been shown that making changes to data while inside the context that's looping through the *same* data can have unexpected results. [listvariables] seems to be another one.Putting [name] and [value] twice in the [listvariables] context isn't messing up the results, putting [text][name]=[value][/text] *any* number of times within the context is the issue. Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.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:

Error.html (1997) Shared Webstar Directory (1998) [WebDNA] File not found when trying to install WebDNA on Debian (2016) showcart is slow (1998) [WebDNA] [announce] MacWorld SF Jan. '09 (2008) So what ya working on? (or have you completed?) (2004) WebCat2 several catalogs? (1997) Linebreak as a delimiter in listwords? (2003) WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997) Re:Hideif / Showif (1998) WebStar and CopyFile (2000) WC2b15 File Corruption (1997) Configuration Q (1998) [WebDNA] Encode cookies ONLY via "method=Base64" (2008) Calculating multiple shipping... (1997) Reversed words (1997) problem (how to mark orders as 'opened') (1998) unable to launch acgi in WebCat (1997) Bad creator codes which cause access denied error message (1997) Multi-processor Mac info ... (1997)