Search found 3 matches
- Sun Apr 02, 2006 5:23 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Help - How 2 open and read large files over 32,768 bytes?
- Replies: 8
- Views: 10510
Hey there MystikShadows! Thanks for your idea. This looks like it might work but I'm not clear on some of it and hesitate using code I don't understand (in case it needs altering for some reason later on). Could I trouble you to explain to me what each line of code is doing here? Thanks in advance, ...
- Sun Apr 02, 2006 12:29 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Help - How 2 open and read large files over 32,768 bytes?
- Replies: 8
- Views: 10510
Problem: Crash Opening a file w/1-record larger than 32767.
Here is the actual code we're using. The problem starts when the ZX is greater than 32767 and we try to do the FIELD statement with the ZX . OPEN "R",1,file2$,1 FIELD 1,1 AS MEF$ ZX=LOF(1) ' this gets the file size which is also the record size since it contains only 1 record CLOSE 1 OPEN ...
- Sat Apr 01, 2006 7:29 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Help - How 2 open and read large files over 32,768 bytes?
- Replies: 8
- Views: 10510
Help - How 2 open and read large files over 32,768 bytes?
Can anyone advise how to open and read a file larger than 32.7k that contains multiple records with one cariage return at the end of the file? The file is field delimited with tilde (~) and asterisks (*) that are showing up as "square boxes" in the sample. Here's the sample of the data... ...