Raised This Month: $ Target: $400
 0% 

Strings, and displaying


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 07-09-2004 , 18:20   Strings, and displaying
Reply With Quote #1

Ok, so I want to display stuff in near columns.. I see how its done in amx_who.. but what do the decimal numbers mean?
Code:
 console_print(id,"^nClients on server:^n #  %-16.15s %-12s %-8s %-4.3s %-4.3s %s", "nick","authid","userid","imm","res","access")
I could see if they were whole numbers, but what the hell do they mean? I know basically what they do (make that variable fit in a certain number of spaces) but I can't find where I found that out
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:50.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode