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

Home » Public Forums » archive » WHERE_ARRAY, a problem?
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
WHERE_ARRAY, a problem? [message #47908] Thu, 16 March 2006 08:47
maldayeh is currently offline  maldayeh
Messages: 13
Registered: January 2006
Junior Member
Hi all,
This example is in the function: where_array and it is not giving the
indicated output:

; EXAMPLE:
A=[2,1,3,5,3,8,2,5]
B=[3,4,2,8,7,8]
result = where_array(a,b)
print,result
0 0 2 2 3 5

indeed, I am getting this error:
% Compiled module: WHERE_ARRAY.
% WHERE_ARRAY: Inproper parametrs
% WHERE_ARRAY: Parameters cannot be of type Structure

Any idea?
Thank you.
-MD
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Multiple IPlot positioning.
Next Topic: Re: WHERE_ARRAY, a problem?

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

Current Time: Fri Oct 10 15:06:39 PDT 2025

Total time taken to generate the page: 1.43954 seconds