Re: Centering text on the 80 column display

From: Neal Lahndorff (stulahnd@ACS.EKU.EDU)
Date: 03/26/98

On Thu, 26 Mar 1998, Chris Hyde wrote:

> Hello there...
>         I am trying to write a function that will center a string of text
> in an 80 column display.  I was wondering if anyone else has attempted
> something such as this, and if so, wondered if you could give me some help
> in getting mine to work.  I have checked the CircleMUD ftp site and

40 - (1/2 string length) to give you the starting position. Then print
enough spaces to put you at the starting position and concatentate the


     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

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