Re: Case statement
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 53150
interpreted = N
texte = Steve Craig wrote:> [text show=T]myDomain=[Middle> StartAfter=.&EndBefore=][DOMAIN][/middle][/text]> > [Switch value=[myDomain]]> [Case value=com]> [FuncNameA domain=[domain]]> [/Case]> [Case value=net]> [FuncNameB domain=[domain]]> [/Case]> [Case value=org]> [FuncNameC domain=[domain]]> [/Case]> [Default]> Whatever I want in here> [/Default]> [/Switch] > You can test the [switch] by hardcoding [mydomain] to something and make sure that works, first. Then you need to make sure that your [function] declarations are active in the page (take that call out of the [switch] statement. Finally, if all that works, there is a bug with [function] and [switch]...John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 301-429-5748-------------------------------------------------------------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:
Steve Craig wrote:> [text show=T]myDomain=[Middle> StartAfter=.&EndBefore=][DOMAIN][/middle][/text]> > [Switch value=[myDomain]]> [Case value=com]> [FuncNameA domain=[domain]]> [/Case]> [Case value=net]> [FuncNameB domain=[domain]]> [/Case]> [Case value=org]> [FuncNameC domain=[domain]]> [/Case]> [Default]> Whatever I want in here> [/Default]> [/Switch] > You can test the [switch] by hardcoding [mydomain] to something and make sure that works, first. Then you need to make sure that your [function] declarations are active in the page (take that call out of the [switch] statement. Finally, if all that works, there is a bug with [function] and [switch]...John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 301-429-5748-------------------------------------------------------------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/
John Peacock
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:
Migrating to NT -Reply (1997)
Re:2nd WebCatalog2 Feature Request (1996)
WebCatalog/Mac 2.1b2 New Features (1997)
javascript & webdna... search without refresh (2002)
Windows 2.1b4 WebCatalog available (1997)
test (2006)
Rhapsody? (1997)
re: date search problem (1999)
autocommit problem (1998)
Questions (1998)
The Depths of Credit Card Payment (2003)
Commas in search (1998)
Custom formulas.db (1998)
New Site Announcement (1998)
Authenticate (1997)
[WebDNA] Sorry WebDNA server not running /Template ERROR/ Slow (2019)
Developers in Washington State (2004)
How can I Add several Items into the cart at once? (1997)
Oops... (2003)
encryption in browser? (1998)