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 
Return to the default flat view 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
[Message index]
 
Read Message
Previous Topic: Re: Arrays in Structures Question (newbie)
Next Topic: PLOTS / PSYM

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

Current Time: Sat Oct 11 02:58:06 PDT 2025

Total time taken to generate the page: 0.40262 seconds