Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / .ini File plugin/ commands?

Author
Message
Dark Dragon
19
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 22nd Jun 2011 05:50
Anyway to read the contents of an ini file in DBPRO? With any plugin? Matrix1Util? Anything?

BatVink
Moderator
23
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 22nd Jun 2011 09:25
Check the LOOKUP table commands in Matrix1 utils

Grog Grueslayer
Valued Member
21
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 22nd Jun 2011 16:53 Edited at: 22nd Jun 2011 16:58
Yeah .ini files are just standard .txt files so you can just use OPEN TO READ and treat everything as a string with READ STRING. Now if you want to quickly separate all the parts of each string it's best to use IanMs SPLIT STRING command to make it easier. Of course what BatVink suggested is a whole heck of a lot easier.

My question is why would you not want to use IanMs Matrix 1 Utilities Plugin?

Dark Dragon
19
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 23rd Jun 2011 04:17
Oh i wasnt saying that, it was that i didnt know if Matrix had somthing for those.

Grog Grueslayer
Valued Member
21
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 23rd Jun 2011 08:36
Oh, I misunderstood.

Login to post a reply

Server time is: 2026-07-10 22:54:49
Your offset time is: 2026-07-10 22:54:49