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 each character in a text document?

Author
Message
HZence
23
Years of Service
User Offline
Joined: 9th Mar 2003
Location:
Posted: 10th Jul 2003 10:12
Is it possible? Here's my text document:

111111111112211111111111222222111111222222222221111111222222221122111122222112212221122222111222222222222221222222222211222222212222211111222211221111122222111122222222222222222222222222222222

(don't ask)

So how could I go through and read each character? I've been using byte value and simply subtracting 48 from it, giving me the original number. A little help would be nice, and thanks in advance to anyone who can help.
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 10th Jul 2003 15:13
Like this:

Login to post a reply

Server time is: 2026-07-18 09:01:19
Your offset time is: 2026-07-18 09:01:19