Re: ListVariables Problem

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 50392
interpreted = N
texte = on 5/15/2003 5:12 am, P at p@edell.co.uk so noted...> Then, as I was debugging, to view the variabless that were being > [text]ed I added [index]:[name]=[value]
into the context, and that > scrambled the results. > > I would like to understand why? > > I expected WebDNA to parse and replace the contents of the context from > left to right, and loop through each variable available to the page. Why are you reassigning the values of the text variables within [listvariables] (not once, but twice) with [text][name]=[value][/text]?That's going to shuffle the creation order of the variables, and like doing a [removelineitem] within a [lineitems] loop, is just asking for trouble.Also, if you have any [math] variables on the page, you're going to wind up with two variables (one math and one text) with the same name! > [ListVariables][text][name]=[value][/text][index]:[name]=[value]
[/ > ListVariables] > >
> > [ListVariables][text][name]=[value][/text][/ListVariables] > > [ListVariables][index]:[name]=[value]
[/ListVariables] 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 5:12 am, P at p@edell.co.uk so noted...> Then, as I was debugging, to view the variabless that were being > [text]ed I added [index]:[name]=[value]
into the context, and that > scrambled the results. > > I would like to understand why? > > I expected WebDNA to parse and replace the contents of the context from > left to right, and loop through each variable available to the page. Why are you reassigning the values of the text variables within [listvariables] (not once, but twice) with [text][name]=[value][/text]?That's going to shuffle the creation order of the variables, and like doing a [removelineitem] within a [lineitems] loop, is just asking for trouble.Also, if you have any [math] variables on the page, you're going to wind up with two variables (one math and one text) with the same name! > [listvariables][text][name]=[value][/text][index]:[name]=[value]
[/ > ListVariables] > >
> > [listvariables][text][name]=[value][/text][/ListVariables] > > [listvariables][index]:[name]=[value]
[/ListVariables] 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:

multiple prices (1998) When to use [convertchars] ?!?!? (2000) Nesting FoundItem Context (1997) cookies and [returnraw] (1997) unique ascending numbers (2003) upgrade? (1997) [WebDNA] TCPConnect assist (2016) New to WebDNA.. Dreamweaver Extensions? (2005) Country & Ship-to address & other fields ? (1997) TCPconnect & XML (2008) selectively replacing records within a [founditems] (2000) WebDNA update from Smith Micro (2002) Help! WebCat2 bug (1997) emailer (1997) WordBreak Qestion (1998) Mozilla/4. and Browser Info.txt (1997) I give up!! (1997) Every other record deleted (2005) Word wrapping (1997) AppleScript question (1997)