home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 2: PC
/
frozenfish_august_1995.bin
/
bbs
/
d09xx
/
d0948.lha
/
Snoopy
/
Ini
/
Examples
/
readme.doc
< prev
next >
Wrap
Text File
|
1993-12-20
|
1KB
|
33 lines
This directory contains four sample sourcecodes showing you how you
could use the ini.library. These are:
EXAMPLE.C - a very plain and simple example that reads in
test.ini and shows all elements contained in that file. It
shows you how you could setup your own parsing mechanism by
looping thru all entries manually.
TEST.ASM - same as EXAMPLE.C but in assembler (and hence some
bytes shorter ;-)
DBASE.C - a more detailed example that includes calls to all
important functions made public by the ini.library. It basically
is a simple database program where you can find, add or
remove strings.
CONFIG.C - most explicit example; a small program that has a
user-configurable pulldown menu using INI files. See config.ini for
an Idea.
Only CONFIG can be started from WB, all others are CLI-Only
Note that the C-examples probably have to be made using SAS/C, because
I don't know how other C compilers handle external libaries. Feel free to
add (include) support for other compilers and languages.
** all files in this directory are I-WANT-TO-BE-FREE-WARE **
dedicated to the global house & techno scene.
written by
GERSON KURZ