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

Home » Public Forums » archive » SORT needs minor fix
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
SORT needs minor fix [message #3744] Sat, 25 February 1995 13:17
mallozzi is currently offline  mallozzi
Messages: 60
Registered: August 1994
Member
Just letting out my frustrations. I have a routine that uses SORT,
and I happened to run across a circumstance where I passed in a scalar
instead of an array to the PRO. I found that SORT does this:
x = 10
print, x(SORT(x))
% SORT: Expression must be an array in this context: X.
x = [10]
print, x(SORT(x))
10

Well, SORT should be able to handle that! Hmmm...
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: HDF file: bug with IDL or bug with my code?
Next Topic: Re: AXP VMS IDL problem with Control_C?

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

Current Time: Wed Oct 08 17:35:37 PDT 2025

Total time taken to generate the page: 0.00661 seconds