dc_read [message #10537] |
Wed, 17 December 1997 00:00 |
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
|
|
|