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 / Reading Textfile Bug?

Author
Message
Lazzarus
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location:
Posted: 19th Sep 2002 23:27
Hi,

I'm seem to have a bit of a bug! I'm trying to read a text file but when the 'read string' line trys to read a long line DBP crashes or returns to the editor. I'm guessing over 255 characters .

Help please or my project is stuffed already. I've included the code and the text file.



Save this in c: as test.txt
Lazzarus
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location:
Posted: 19th Sep 2002 23:29
Please note on the test.txt file Line 4 and all the x's should be on 1 line, The forum seems to have split it.

Login to post a reply

Server time is: 2024-04-23 09:32:01
Your offset time is: 2024-04-23 09:32:01