[Info-vax] MAX record size in a sequential file
StGallen
sengupta.suhas at gmail.com
Tue May 15 06:30:29 EDT 2012
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.
More information about the Info-vax
mailing list