[CODE] Two lines trying to define a character

From: Chuck Reed (creed@I-55.COM)
Date: 12/17/97


Anyone have any clue to why this gives a parse error (the lines with the
arrow produce the errors):

switch(blah) {
   case CASE_1:
->   char blah = "stupid man";
     break;
   case CASE_2:
->   char blah = "stupid man 2";
     break;
   default:
     log("I am a flying elephant.");
     break;
 }

Chuck


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/08/00 PST