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

Home » Public Forums » archive » dereference with wildcard
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
dereference with wildcard [message #69737] Tue, 09 February 2010 08:02
PimK is currently offline  PimK
Messages: 4
Registered: February 2010
Junior Member
Hello,
I am trying to access a complete array with the '*' wildcard but it
will only work with scalar values. The range ':' option will not work
either.
I think it should be possible if I dereference is with the '(' ')'
brackets??
What am I doing wrong here?

print, mean( (*(*(*pState).navtrack)[0]).lat ) ;;works!

but....,

print, mean( (*(*(*pState).navtrack)[*]).lat )
% Expression must be a scalar in this context: <POINTER Array[2]>.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Making discrete color table into a continuous one
Next Topic: Re: Making discrete color table into a continuous one

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

Current Time: Wed Oct 08 13:35:38 PDT 2025

Total time taken to generate the page: 0.00517 seconds