Search found 2 matches

by dcouzin
Jan 12, 2019 21:01
Forum: Beginners
Topic: reading random access files
Replies: 9
Views: 281

Re: reading random access files

counting_pine 's suggestion worked perfectly! Correct answers appear, and extremely fast. I made much use of random access files in QB. In this case the records are single-precision (4-byte) floats and the file contains over 600,000 of them. For numerical approximation programs of this type, runnin...
by dcouzin
Jan 11, 2019 20:59
Forum: Beginners
Topic: reading random access files
Replies: 9
Views: 281

reading random access files

I wrote these three lines in QuickBASIC many years ago: open "list"+left$(s$(si+4),4)+".csv" as #2 len=4 field #2, 4 as pk$ GET #2, 100 Don't worry about the first line. It's the next two lines that the FB compiler, even with option '-lang qb', rejects, giving these two reasons: ...

Go to advanced search