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

Home » Public Forums » archive » Re: reverse 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
Re: reverse problem [message #46048] Thu, 03 November 2005 18:34 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Haje Korth writes:


> Hm, this works fine for me on IDL 6.2, Windows XP.

I'm pretty sure Bob is working on a Macintosh. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Re: reverse problem [message #46051 is a reply to message #46048] Thu, 03 November 2005 16:35 Go to previous messageGo to next message
Haje Korth is currently offline  Haje Korth
Messages: 651
Registered: May 1997
Senior Member
Bob,
Hm, this works fine for me on IDL 6.2, Windows XP.

Haje

"R.G. Stockwell" <no@email.please> wrote in message
news:JUxaf.41$Bd3.15259@news.uswest.net...
> 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
>
Re: reverse problem [message #46189 is a reply to message #46048] Fri, 04 November 2005 06:27 Go to previous message
K. Bowman is currently offline  K. Bowman
Messages: 330
Registered: May 2000
Senior Member
In article <MPG.1dd476b26207ce8a98968e@news.frii.com>,
David Fanning <david@dfanning.com> wrote:

> I'm pretty sure Bob is working on a Macintosh. :-)
>
> Cheers,
>
> David

Oh, libel! Libel!

bowman> idl
IDL Version 6.2, Mac OS X (darwin ppc m32). (c) 2005, Research Systems, Inc.

IDL> print,reverse([1,2,3,4,5])
% Compiled module: REVERSE.
5 4 3 2 1
IDL>


Ken Bowman
Re: reverse problem [message #46195 is a reply to message #46048] Thu, 03 November 2005 20:05 Go to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
David Fanning wrote:
> Haje Korth writes:
>
>
>
>> Hm, this works fine for me on IDL 6.2, Windows XP.
>
>
> I'm pretty sure Bob is working on a Macintosh. :-)

Oh well, on a Macintosh it's quite reasonable that reverse([1,2,3,4,5])
would give [1,1,1,1,1].

See your smiley and raise you one :-) :-)


--
Mark Hadfield "Kei puwaha te tai nei, Hoea tahi tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Printinf Latitudes & Longitudes in a MAP using IDL
Next Topic: Zooming in place

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

Current Time: Wed Oct 08 11:35:50 PDT 2025

Total time taken to generate the page: 0.00533 seconds