Re: [newbie] text based alignment[long]

From: Mythran (kip_potter@hotmail.com)
Date: 06/27/02


> bpl21:
> send_to_char(ch, "Alignment: %s\r\n, align);
>

Anyone else know why this last bit of code ain't working?  Can anyone say
"Unterminated String Constant"?

FIX:
  I don't remember send_to_char allowing this functionality, maybe it has
changed in the newer versions, if it has....
  send_to_char(ch, "Alignment: %s\r\n", align);

  Otherwise:
  send_to_char(align, ch);

  OR:
  sprintf(buf, "Alignment: %s\r\n", align);
  send_to_char(buf, ch);

Hope this helps!

Mythran

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT