comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Truncating file with OPENU
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Truncating file with OPENU [message #42340] Sun, 30 January 2005 03:44
Wayne Landsman is currently offline  Wayne Landsman
Messages: 117
Registered: January 1997
Senior Member
"Wayne Landsman" <landsman@sampa.gsfc.nasa.gov> wrote in message
news:cte9ic$akd$1@skates.gsfc.nasa.gov...
>
> There used to be a VMS keyword TRUNCATE_ON_CLOSE to OPENU that would do
> what I want: truncate the file at the current file pointer position when
> the file was closed. I'd prefer an OS-independent method.

Jim Pendleton points out that there is now an intrinsic IDL procedure to do
exactly what I want:

--the TRUNCATE_LUN procedure was introduced in V5.6.

--Wayne Landsman
[Message index]
 
Read Message
Previous Topic: Truncating file with OPENU
Next Topic: Convert ascii data to binary

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 16:18:09 PDT 2025

Total time taken to generate the page: 0.00184 seconds