making variable text conform to a constant space

From: Mudder (glennmc@ccsi.com)
Date: 05/23/96


I have a problem I have been trying to work out for a few days now.
what I am trying to do is, as an example, make a box for some variable
output to a player, Like exp or gold.
 
this is what I want for output:

            ______________________________________________
           |                                              |
           |   Exp to Level: 12345   current Exp: 123456  |
           |                                              |
           |   Gold on hand: 12345  Gold in bank: 123456  |
           |______________________________________________|


however, this is what I get :(

            ______________________________________________
           |                                              |
           |   Exp to level: 123456  current Exp: 1234567   | <--
           |                                              |      |
           |   Gold on hand: 1234   Gold in bank: 12345 |    <---|                      
           |______________________________________________|      |
                                                                 |
how do I make the box stay in place \____________________________|
when the variables change?          /


This problem is REALLY getting frustrating :(
 

_Glenn_



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