Old 19th February 2006, 02:15   #1
jonwil2
Junior Member
 
Join Date: Feb 2006
Posts: 2
question about writing to ini files...

I have an ini file with a section containg entries like this
MapName00=C&C_Canyon.mix
MapName01=xxx
MapName02=xxx
etc
I need to find out which entries already exist so that I can add the new entries to the list without overwriting existing ones. How can I do that?
jonwil2 is offline   Reply With Quote
Old 19th February 2006, 09:26   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Use ReadINIStr first and see if the errors flag is set with IfErrors (make sure you use ClearErrors first).

-Stu
Afrow UK is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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