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

Home » Public Forums » archive » Can I use array elements of a pointer like a regular array?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Can I use array elements of a pointer like a regular array? [message #63840] Thu, 20 November 2008 11:57
lalit.jalota is currently offline  lalit.jalota
Messages: 2
Registered: November 2008
Junior Member
OK Gurus,
why does this happen?

IDL> print, n_elements( *(*pstate).ptr_counts )
120
IDL> print, *(*pstate).ptr_counts[1]
Subscript range values of the form low:high must be >= 0, < size, with
low <= high: <No name>.
Execution halted at: MS_GENERATESPECTRUM 489 C:\ISI\_Rad-Img\code
\ms_generatespectrum.pro
MS_GENERATESPECTRUMBUTTON 54 C:\ISI\_Rad-Img
\code\mxfsim_eventcb.pro
MXFSIM_BASE_EVENT 25 C:\ISI\_Rad-Img\code
\MXFSim.pro
WIDGET_PROCESS_EVENTS
$MAIN$

????
[Message index]
 
Read Message
Previous Topic: loop for 365 days with 18 days interval
Next Topic: Why this loop does not work?

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

Current Time: Fri Oct 10 00:08:47 PDT 2025

Total time taken to generate the page: 0.72385 seconds