[Info-vax] MAX record size in a sequential file
Johnny Billquist
bqt at softjar.se
Tue May 15 10:17:27 EDT 2012
On 2012-05-15 03.30, StGallen wrote:
> On Tuesday, May 15, 2012 12:39:42 PM UTC+5:30, Johnny Billquist wrote:
>>
>> I think your basic problem is that the file do not have a fixed record
>> length, so how do you expect the map to work?
>> When dealing with variable record lengths, you need to be more clever.
>> (What's wrong with just opening the file and doing LINPUT on it?)
>>
>> Johnny
> LINPUT will only work with terminal format files. BASIC run time error = 164.
> OPEN ABC_FILE FOR INPUT AS FILE #158%,&
> ORGANIZATION UNDEFINED,&
> RECORDTYPE ANY,&
> ACCESS READ,&
> ALLOW NONE
>
> LINPUT #158%, ABC_REC !==> 158 must be a Terminal Format file.
So why do you (in this example) open the file specifying "organization
undefined"?
Johnny
More information about the Info-vax
mailing list