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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Guinn
Wizard


Joined: 03 Mar 2001
Posts: 1127
Location: London

PostPosted: Sat Dec 08, 2007 1:33 pm   

[2.16] Minor %time bug
 
%time(aaaa)
returns Saturday

%time(aaa)
returns Sat

%time(aaaa aaa)
returns SaturdaySat

%time(aaa aaaa)
returns SaturdaySat

First three are correct, last one should be SatSaturday
_________________
CMUD Pro, Windows Vista x64
Core2 Q6600, 4GB RAM, GeForce 8800GT
Because you need it for text... ;)
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Sat Dec 08, 2007 2:05 pm   
 
The correct usage is to put the time conversion string into quotes. Notice that your third example does not have a space between the Saturday and Sat.
#SHOW %time("aaa aaaa") properly displays. If you want to not have any visible seperation between 2 values that use the same letter code you can do this #SHOW %time(%concat("aaa",%char(1),"aaaa"))
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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