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 Discussion / reading files

Author
Message
kRx
20
Years of Service
User Offline
Joined: 2nd Apr 2005
Location: Canterbury, Kent, UK
Posted: 6th Jul 2005 04:18
hey

is it possible to read a particualr line from a txt,bat,ini etc file? been trying to figure this out.

thanks

kR

kR
gpex
19
Years of Service
User Offline
Joined: 29th May 2005
Location:
Posted: 6th Jul 2005 15:33
well

kRx

it is

possible to read a

line from a text file

just use the "read" command

look it up in the DB

help files...


-gpex-

CodingCom Test Site...check it out!!!
http://www.codingcom.150m.com
Sven B
20
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 6th Jul 2005 23:26
Well, there isn't a command to pick out a line you want to read, but i heard there was someone working on this problem.
maybe you could search the forum?

Immunity and Annihalation makes Immunihalation...
kRx
20
Years of Service
User Offline
Joined: 2nd Apr 2005
Location: Canterbury, Kent, UK
Posted: 6th Jul 2005 23:49
yay i think ive done it thanks all

kR
Underworld 1020
21
Years of Service
User Offline
Joined: 2nd Mar 2004
Location: NY, USA
Posted: 7th Jul 2005 03:33
Look Here:

http://forum.thegamecreators.com/?m=forum_view&t=54642&b=10

The functions that I created allow you to read and write data on a specific line. If you have any questions just ask me.

Login to post a reply

Server time is: 2025-05-22 20:26:12
Your offset time is: 2025-05-22 20:26:12