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

Home » Public Forums » archive » reverse problem
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
reverse problem [message #46053] Thu, 03 November 2005 16:24 Go to previous message
news.qwest.net is currently offline  news.qwest.net
Messages: 137
Registered: September 2005
Senior Member
Hi everybody,
I've gone insane. Here is the evidence:

IDL> print,reverse([1,2,3,4,5])

1 1 1 1 1


Why the heck is reverse giving me an array of ones, instead
of reversing the array?
I think it used to work ok, since I came across this problem
in an old color table procedure (where I can select to reverse the
color table).

Cheers,
bob
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: online help IDL 6.2
Next Topic: Printinf Latitudes & Longitudes in a MAP using IDL

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

Current Time: Fri Oct 10 10:02:43 PDT 2025

Total time taken to generate the page: 0.26448 seconds