HP3000-L Archives

February 2000, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Tony Summers <[log in to unmask]>
Reply To:
Tony Summers <[log in to unmask]>
Date:
Mon, 14 Feb 2000 10:26:09 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (17 lines)
A big thank you to Tad Bochan, Stan Sieler and Gavin Scott. 

In summary.  I was writing to a (pre-built) variable length message file 
and then reading it back, but the records were being returned as fixed length 
records. 

The problem is that you have to OPEN the message file for READ setting
the Foption bits for RECORD FORMAT = VARIABLE LENGTH. 

Thus, as Stan stated open it as Fopen(f,%107), but since
I use HPFOPEN,  this translated to Item Number = 6 and item value = 1. 

What's confusing is that my manual states that this Foption setting 
is only applicable at file creation.     Mmmmmmmm !

Many thanks again.

ATOM RSS1 RSS2