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

Home » Public Forums » archive » Arrays in Structures Question (newbie)
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
Arrays in Structures Question (newbie) [message #22405] Thu, 09 November 2000 00:00
Mike Garrett is currently offline  Mike Garrett
Messages: 3
Registered: November 2000
Junior Member
Hej guys,

I was writing some structures to hold some data values and I am having a
hard time determining what is going inside IDL. Could someone explain why
I keep gettin two values back when I am just asking for one? And why the
values are getting switched down a level?

IDL> pointdata([1]).distance([[44],[0]]) = 12
IDL> print, pointdata([1]).distance([[44],[0]])
12
12
IDL> pointdata([1]).distance([[44],[1]]) = 3
IDL> print, pointdata([1]).distance([[44],[1]])
3
3
IDL> print, pointdata([1]).distance([[44],[0]])
3
12

Thanks for any help,

Mike
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Arrays in Structures Question (newbie)
Next Topic: PLOTS / PSYM

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

Current Time: Wed Oct 08 19:50:41 PDT 2025

Total time taken to generate the page: 0.00430 seconds