AminetAminet
Search:
84782 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/libs/newfmt.lha

Mirror:Random
Showing: ppc-morphos icongeneric icon
No screenshot available
Short:New way to format strings (like in DOpus)
Author:"Wojciech Kocjan" kocjan at ka.onet.pl
Uploader:Wojciech Kocjan <kocjan ka onet pl>
Type:util/libs
Version:4.2
Architecture:m68k-amigaos
Date:1998-01-26
Download:util/libs/newfmt.lha - View contents
Readme:util/libs/newfmt.readme
Downloads:749

This  library  is  intended  to  replace  (not  patch!)  the exec/RawDoFmt()
function  by  easier  (for the user and developer).  Instead of parsing only
the  type  of  field,  you enter the string name (tag) and format optionally
(defaults  to  %s).  It uses RawDoFmt() for printf-like formatting of single
string  (tag).   The format string can be anything and the application using
newfmt.library  will  be  able  to  select  the  characters  responsible for
beginning, slashing and ending of the tag.  By default they are "{", "/" and
"}".  The tag consists of the following:

{tag/format}    ie. {f/s}    {size/ld}
| | |   |  |
| | |   |  +--ending character
| | |   +-----formatting string (for RawDoFmt())
| | +---------shash character
| +-----------tag name (up to 4 characters)
+-------------beginning character

                         or

{tag}
| | |
| | +--ending character
| +----tag name (up to 4 characters)
+------beginning character

beginning character - usually "{", set by application
tag name - is the "tag" for searching for the value
slash character - used when you want to enter the format
format - RawDoFmt() format, for more info see autodocs
ending character - usually "}", set by application.


Contents of util/libs/newfmt.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  280     637  44.0% -lh5- 0ffb Dec 13  1997 newfmt.info
[generic]                 1248    2344  53.2% -lh5- a09f Jan 11  1998 newfmt/developer/autodoc.info
[generic]                 2265    8656  26.2% -lh5- 1a44 Jan 11  1998 newfmt/developer/autodoc/newfmt.doc
[generic]                 1252    2349  53.3% -lh5- 5ab8 Jan 11  1998 newfmt/developer/fd.info
[generic]                  243     584  41.6% -lh5- e92f Jan 11  1998 newfmt/developer/fd/newfmt.fd
[generic]                 1255    2349  53.4% -lh5- 214e Jan 11  1998 newfmt/developer/include.info
[generic]                  522    2182  23.9% -lh5- 3c52 Jan 10  1998 newfmt/developer/include/clib/newfmt_protos.h
[generic]                  360     943  38.2% -lh5- 466a Jan  9  1998 newfmt/developer/include/libraries/newfmt.h
[generic]                  229     399  57.4% -lh5- dae9 Jan  9  1998 newfmt/developer/include/libraries/newfmt.i
[generic]                  308     737  41.8% -lh5- 9886 Jan 11  1998 newfmt/developer/include/libraries/newfmt_lib.i
[generic]                  245    1133  21.6% -lh5- 69c9 Jan 10  1998 newfmt/developer/include/pragmas/newfmt_pragmas.h
[generic]                  127     180  70.6% -lh5- 63ff Jan  1  1998 newfmt/developer/include/proto/newfmt.h
[generic]                 1251    2349  53.3% -lh5- 5d5b Jan 11  1998 newfmt/developer/lib.info
[generic]                  320     500  64.0% -lh5- 2e5d Dec 13  1997 newfmt/developer/lib/newfmt.lib
[generic]                 1962    3596  54.6% -lh5- 13f5 Jan 11  1998 newfmt/newfmt.library
[generic]                  650    1390  46.8% -lh5- d7bd Jan 11  1998 newfmt/newfmt.readme
[generic]                  522    1415  36.9% -lh5- 9d6f Dec  8  1997 newfmt/newfmt.readme.info
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        17 files   13039   31743  41.1%            Jan 25  1998
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>