Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages!

You are not logged in. Login here for full access privileges.

Previous Message | Next Message | Back to Synchronet Discussion  <--  <--- Return to Home Page
   Networked Database  Synchronet Discussion   [308 / 900] RSS
 From   To   Subject   Date/Time 
Message   Mortifis    The Millionaire   Re: %12s   July 20, 2019
 9:40 PM *  

 >   Re: %12s
 >   By: Digital Man to The Millionaire on Sat Jul 20 2019 03:08 am

 >  >   Re: %12s
 >  >   By: The Millionaire to Digital Man on Fri Jul 19 2019 03:54 pm

 >  >  > On line 126 and 128 there is a %12s variable in the text.dat file.
 >  >  > what is this for?

 >  > text.dat string that contain % specifiers are for variable replacements.
 >  > The "names" of these strings usually end in "Fmt" (for "format";) and the
 >  > syntax is consistent with the C printf-style functions.

 >  > So %12s means: a string of text, at least 12 characters wide,
 >  > right-justified.

 >  >                                             digital man

 >  > This Is Spinal Tap quote #13:
 >  > Nigel Tufnel: You can't really dust for vomit.
 >  > Norco, CA WX: 60.2°F, 92.0% humidity, 0 mph SE wind, 0.00 inches
 >  > rain/24hrs

 > one more question here: if it's %11.11 %11.11 are those information or
 > formats also?

More precisely, %11.11s ... which basically limits the output to the first 11
character in a DOS 8.3 file format ... notice these %s are in a print or
printf() statement and are in the C programming language style ... it may be
helpful if you 'google' "c print formatting" :-)




My teachers always said "You can't make a living looking out a window!", they
were wrong,  I drive truck :-P

---
 ■ Synchronet ■ AlleyCat! BBS - http://alleycat.synchro.net:81
 * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to Synchronet Discussion  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.0777 seconds

If you experience any problems with this website or need help, contact the webmaster.
VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved.
Virtual Advanced Copyright © 1995-1997 Roland De Graaf.
v2.0.140505

Warning: Unknown: open(c:\Sessions\sess_6a0o0dmg26p4m7p1oj6hobpee6, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0 PHP Warning: session_start(): open(c:\Sessions\sess_6a0o0dmg26p4m7p1oj6hobpee6, O_RDWR) failed: No such file or directory (2) in D:\wc5\http\public\VADV\include\common.inc.php on line 45 PHP Warning: Unknown: open(c:\Sessions\sess_6a0o0dmg26p4m7p1oj6hobpee6, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0