On 2016-06-03, Paul Sture <
nos...@sture.ch> wrote:
> On 2016-06-03, Robert Nelson <
2621...@gmail.com> wrote:
>>
>>> User Action: Supply a valid COUNT value in the PUT or UPDATE statement
>>> or a valid RECORDSIZE in the OPEN statement, whichever is applicable.
>>
>> Thanks Jan. I have already read up on this error. I believe I am
>> specifying the new size in the UPDATE clause. As for RECORDSIZE in
>> OPEN, the OPEN statement in the REFERENCE MANUAL states that BASIC
>> retrieves the record size value from the file while opening existing
>> files if not explicitly specified.
>>
>> The file in question will have variable record lengths.
>>
>
> You cannot change the size of a record in a sequential file via an UPDATE.
>
> Think about it:
>
> o - if increasing the size, where does the extra space come from?
> o - if decreasing the size, what happens to the remaining space?
>
> You can change the record size via an update with indexed files, but not
> sequential ones.
I forgot to mention. This is an RMS restriction, and not specific to BASIC.