more code

From: Nick B (
Date: 07/13/96

Now, I am a novice programmer, but I don't see what is wrong with this
little bit of code in my act.informative.c:

   struct time_info_data playing_time; 
   struct time_info_data real_time_passed(time_t t2, time_t t1);

   sprintf(buf, "%s                   Info for %s\r\n", buf, GET_NAME(ch));
   sprinttype(GET_RACE(ch), pc_race_types, buf2); 
   sprintf(buf, "%sRace: %s", buf, buf2);
   sprinttype(GET_CLASS(ch), pc_class_types, buf2);
   sprintf(buf, "%s                 Class: %s\r\n", buf, buf2);

   sprintf(buf, "You are %d years old.", GET_AGE(ch));

When I execute the score command within the mud, it starts printing info on
the screen starting at the GET_AGE line.  Why won't it print anything above it?

Nick B

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