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

Home » Public Forums » archive » Accessing 2D array from pointer array within structure
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
Accessing 2D array from pointer array within structure [message #31756] Thu, 15 August 2002 09:09
bjones8 is currently offline  bjones8
Messages: 6
Registered: August 2002
Junior Member
Hi!

I have a structure called "info" with an item called "img" which is a
pointer array. Each of these pointers point to an image (2D array).

IMG POINTER Array[5]

I want to be able to access the image via subscripts. Is it possible?
What is the syntax?

So something like
value=*info.img[3][130,453]

I know this is invalid....but something along those lines. Right now
my code does this, which is sloppy:

tmp=*info.img[3]
value=tmp[130,453]

I can't really find any info about doing this in the docs....
Thanks!

Brandon Jones
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Window active event?
Next Topic: How to pick columns in a base widget?

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

Current Time: Fri Oct 10 07:26:55 PDT 2025

Total time taken to generate the page: 0.79801 seconds