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

Home » Public Forums » archive » Re: Compilation Error: Procedure header must appear first and onlyonce
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: Compilation Error: Procedure header must appear first and onlyonce [message #76803 is a reply to message #76710] Wed, 29 June 2011 12:11 Go to previous messageGo to previous message
Maegereg is currently offline  Maegereg
Messages: 10
Registered: June 2011
Junior Member
On 6/29/11 11:30 AM, Michael Galloy wrote:

> These errors are usually indicative that you think you are calling a
> function, but IDL thinks you are indexing an array. I would use
> "compile_opt strictarr" at the beginning of each routine *and* only use
> square brackets to index the array.

It works! All the compile errors disappeared when I added compile_opt strictarr to their functions. Thank you very much for your help. I would not have thought to try that in a thousand years.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Upgrading to Windows 10
Next Topic: Moment and XROI

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

Current Time: Sat Oct 11 04:28:25 PDT 2025

Total time taken to generate the page: 0.15675 seconds