View Single Post
  #7 (permalink)  
Old August 24th, 2004, 12:24 AM
nokomis nokomis is offline
Authorized User
 
Join Date: Dec 2003
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Some compilers don't like the inverted commas
shown in that example. If you have a problem with it
try:

switch(value)
{
     case 1:
            dothis();
            dothat();
            break;
     case 2:
            dotheother();
            break;
     default:
            donothing();
}

remember to put in the break command or
it will run on from case one to case two etc!

Nokomis




Georges
Reply With Quote