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

Home » Public Forums » archive » Re: structures still confusing
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: structures still confusing [message #49070 is a reply to message #49069] Tue, 13 June 2006 08:45 Go to previous messageGo to previous message
rother is currently offline  rother
Messages: 9
Registered: April 2000
Junior Member
Hi,

On Jun13 10:54, Ben Tupper wrote:
> Martin Rother wrote:
>> (X). print, s.m[2]
>> 3 3 3
> Which is different than asking for the ith elements
> of the m array in ALL the structures in the vector s.
> IDL> print, s.m[0]
> 1 1 1
[...]
> I agree it can be confusing (wait till you have
> pointers in there!) but is very handy sometimes, too.

mmmhhh. I already used nested structures with
and without pointers, but I always used a vast amount
of brackets... so, stupid well-behaving, I indeed never
was aware of this method of 'slicing'! I'm getting
more and more comfortable with that idea... :-)
thanks for all that hints,
m.
--
Martin Rother (rother@gfz-potsdam.de) +331 / 288-1272 Section 2.3
GeoForschungsZentrum Potsdam, Germany
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: procedure name quirk
Next Topic: Using Windows IDL to access a UNIX database using DLM's

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

Current Time: Fri Oct 10 06:32:57 PDT 2025

Total time taken to generate the page: 0.40395 seconds