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

Home » Public Forums » archive » dc_read
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
dc_read [message #10537] Wed, 17 December 1997 00:00
Seth Nemesure is currently offline  Seth Nemesure
Messages: 2
Registered: December 1997
Junior Member
Hi everyone.

I'm using pvwave 6.10 and have a question about the dc_read
functions.

Does anyone know if there is anyway to have the dc_read_free
function forget any predefined definitions of variables?
For example, if you make a call to dc_read_free to read an
array that is 10 elements long and you pass a variable which
has already been defined to be some other length, it will
automatically write over that predefined definition.

To try to make myself even clearer....

a=[1,2,3,4,5]

stat=dc_read_free(file,a)
{where file is filled with a findgen(10)}

variable a should now read [0,1,2,3,4,5,6,7,8,9] but instead
will be [0,1,2,3,4].

This problem is very troublesome when you are making calls
within routines that are messaging the data.

Seth

--
SETH NEMESURE e-mail: seth@bnl.gov
Environmental Chemistry Division http://www.ecd.bnl.gov/~seth
Brookhaven National Laboratory phone: (516)344-5595
75 Rutherford Dr., Bldg. 815E fax: (516)344-2887
Upton NY 11973-5000, USA
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL5 and large structures: Program code area full
Next Topic: IDL FAQ 4.04

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

Current Time: Fri Oct 10 03:12:04 PDT 2025

Total time taken to generate the page: 0.00682 seconds