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

Home » Public Forums » archive » Re: Array indexing problem
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: Array indexing problem [message #37861 is a reply to message #37858] Wed, 28 January 2004 16:55 Go to previous messageGo to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
David Fanning wrote:
> Maybe we can hear from someone who uses it.

Not me, but I would like to point out that this "desirable" behaviour
can be eliminated in version 6.0 by adding the following declaration to
your code

compile_opt STRICTARRSUBS

I have this, along with DEFINT32, STRICTARR & LOGICAL_PREDICATE in my
start-up file and all recently-edited routines.

This done, Roy's example gives me

% Array used to subscript array contains out of range subscript: A.

--
Mark Hadfield "Ka puwaha te tai nei, Hoea tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: V5.6 to V6.0 license server question
Next Topic: Rapid "moving windows" access in IDL?

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

Current Time: Thu Oct 09 04:26:24 PDT 2025

Total time taken to generate the page: 0.47824 seconds