BUG: Switch inside ListFields context

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 61091
interpreted = N
texte = Under WebDNA 6.0 or 6.0.1, putting a SWITCH context inside a LISTFIELDS context results in errors from WebDNA: [listfields users.db] [switch value=bob] [case value=bob]bob[/case] [default]mike[index][/default] [/switch]
[fieldname]
[/listfields] reports "Error: Error: expected [/SWITCH], but found [/default] instead[/default] " The same SWITCH context works fine both before and after the LISTFIELDS context. Tested under WebDNA 5.0.0g, this same code works fine, even inside the LISTFIELDS. I've coded around the bug for now, but it needs to be fixed. - 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 to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: BUG: Switch inside ListFields context ( Donovan Brooke 2005)
  2. Re: BUG: Switch inside ListFields context ( Donovan Brooke 2005)
  3. BUG: Switch inside ListFields context ( Brian Fries 2005)
Under WebDNA 6.0 or 6.0.1, putting a SWITCH context inside a LISTFIELDS context results in errors from WebDNA: [listfields users.db] [switch value=bob] [case value=bob]bob[/case] [default]mike[index][/default] [/switch]
[fieldname]
[/listfields] reports "Error: Error: expected [/SWITCH], but found [/default] instead[/default] " The same SWITCH context works fine both before and after the LISTFIELDS context. Tested under WebDNA 5.0.0g, this same code works fine, even inside the LISTFIELDS. I've coded around the bug for now, but it needs to be fixed. - 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 to Web Archive of this list is at: http://webdna.smithmicro.com/ Brian Fries

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:

[OT] - simple JS question (2004) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) WebCatalog and barcodes (2000) looking for developers with solutions (2000) when is failing to [URL]ize values in a comparison risky? (1999) finding the next thursday (2000) [TCPSend] and whois? (1999) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) Database (2002) 'does not contain' operator needed ... (1997) HELP WITH DATES (1997) Emailer help....! (1997) Country & Ship-to address & other fields ? (1997) Re:Signal Raised (1997) WebCatalog 2.0 b 15 mac (1997) Initiating NewCart (1997) [format] (1998) Quantity * price (1997) problem serving foreign languages text (1997) WebDNA/MySQL/Win2k3 Anyone using it? (2006)