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.

Author
Message
Eddie Gordo
23
Years of Service
User Offline
Joined: 14th Jan 2003
Location: Ohio - USA
Posted: 1st Jul 2003 00:21
i want to know how to read a number from a file, like an ascii file, number by number is this possible?
In our hearts and minds we keep the powers of love, hope and the hidden powers of evil in which we can mold a hero or daemon of ourselves-Book of Enoch Chapter III
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 1st Jul 2003 00:29
loader.dba


myfile.txt


Eddie Gordo
23
Years of Service
User Offline
Joined: 14th Jan 2003
Location: Ohio - USA
Posted: 1st Jul 2003 19:13
are the bytes read as numbers or strings, because in ASCII 13,10, is a page break, i want to know if thats what happens to the string if it has a break or if its just all numbers converted to a string.

In our hearts and minds we keep the powers of love, hope and the hidden powers of evil in which we can mold a hero or daemon of ourselves-Book of Enoch Chapter III
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 1st Jul 2003 20:18 Edited at: 1st Jul 2003 20:20
good point i forgot about that



now it'll work

[edit-]

just use the chr$/asc commands for it to work... it'll read anything and convert to standard text.
although in db standard the read string command would only read each line or 256 characters (whichever came first) this limit might've been altered for dbpro.

Login to post a reply

Server time is: 2026-07-18 02:38:59
Your offset time is: 2026-07-18 02:38:59