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 Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 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:

    
  1. Re: Case statement ( Steve Craig 2003)
  2. Re: Case statement ( Grant Hulbert 2003)
  3. Re: Case statement ( Donovan 2003)
  4. Re: Case statement ( Steve Craig 2003)
  5. Re: Case statement ( Steve Craig 2003)
  6. Re: Case statement ( John Peacock 2003)
  7. Re: Case statement ( Donovan 2003)
  8. Re: Case statement ( Donovan 2003)
  9. Re: Case statement ( Steve Craig 2003)
  10. Re: Case statement ( "Andrew Simpson" 2003)
  11. Case statement ( Steve Craig 2003)
  12. issues with nested case statements? (Andrew Simpson 2001)
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 Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 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)