newbie: multiple subarrays in array [message #31559] |
Mon, 15 July 2002 10:36 |
foppa
Messages: 3 Registered: July 2002
|
Junior Member |
|
|
Hello there,
This is my first question in this discussion group - and a simple one:
I have an array with different integer values
e.g.[10,4,-9999,-9999,4,6,-9999,45,-9999]
what I need is a new array without the (-9999) values. These values
represent nodata in my dataset.
-> [10,4,4,6,45] should be the result.
I have already tried the function "arrdelete.pro" from Craig Markwardt
which
is a function to delete a section of an array. But in my case I have
different subarray in my array and they are not alwalys at the same
position.
With WHERE I can define the position of the (-9999) values but how do
I delete them automatically form many cases?
I hope I expressed me correctly and that someone as an idea!
Thanks a lot to everybody in advance,
nando
|
|
|