Subj : Right Justify
To : Nightfox
From : DesotoFireflite
Date : Mon Dec 28 2020 06:28 pm
Re: Right Justify
By: Nightfox to DesotoFireflite on Mon Dec 28 2020 01:06 pm
Ni> I don't know what formatString() is, as it doesn't seem to appear in the
Ni> Synchronet JavaScript object model - but you can use the printf() function
Ni> to justify text. For format specifiers, text is right-justified by default
Ni> with printf. You may need to specify a field width though (I don't
Ni> remember for sure off the top of my head) You could use something like
Ni> this (with a field width of 4):
Ni> printf("\1h\1c%4d \1h\1c%4d", tlogons, firstOn);
thanks, I will give that a shot, and see what happens. Again, thanks
SysOp: C.G. Learn, AKA: DesotoFireflite
Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com
Valhalla II! - (GAP) - bbs.valhallabbs.com:24
A Gamers Paradise - Over 150 Registered Online Game Doors!
Home Of Odin's Maze Game Server!
Come Play Trade Wars On Valhalla's T.W.G.S!
--- FART(n): An audio test of one's waste-disposal system.
� Synchronet � Valhalla Home Services � USA �
http://valhalla.synchro.net