Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
DgateTam
Newbie


Joined: 27 Nov 2002
Posts: 5
Location: USA

PostPosted: Sun Dec 15, 2002 2:45 pm   

%format question
 
When using %format to output strings in zMUD 6.16, is there a way to get them to justify left? All they seem to do when I use:
%format( "&15s", @btname) is justify to the right.
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Sun Dec 15, 2002 2:51 pm   
 
Use a - in front of the field width:
%format("&-15s", @btname)

Kjata
Reply with quote
DgateTam
Newbie


Joined: 27 Nov 2002
Posts: 5
Location: USA

PostPosted: Sun Dec 15, 2002 2:54 pm   
 
Thank you Kjata. I appreciate the assist on that :)

Happy Holidays to all the zMUD Gurus out there!
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net