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

Home » Public Forums » archive » Re: Unhelpful Help Messages
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: Unhelpful Help Messages [message #67802] Fri, 28 August 2009 00:57 Go to previous message
Maarten[1] is currently offline  Maarten[1]
Messages: 176
Registered: November 2005
Senior Member
On Aug 28, 2:57 am, Jeremy Bailin <astroco...@gmail.com> wrote:
> On Aug 26, 6:22 pm, David Fanning <n...@dfanning.com> wrote:
>
>
>
>> Folks,
>
>> Having spent more time this week than I wanted to learning
>> that "too many array elements" really means "you are
>> *totally* confusing me with that binsize that isn't
>> really a number", I thought I might work on an article
>> this weekend on "Unhelpful Help Messages".
>
>> This could be one of those articles that grows over time,
>> but I thought I might ask if anyone else has a favorite
>> Unhelpful Help Message they would like to share. Another
>> one I deal with on an almost weekly basis is a "syntax
>> error" when someone hasn't put the Coyote Library on their
>> IDL path correctly. This one particularly confuses new
>> users.
>
>> Any others?
>
>> Cheers,
>
>> David
>> --
>> David Fanning, Ph.D.
>> Coyote's Guide to IDL Programming (www.dfanning.com)
>> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
>
> This is one that makes sense to me, but is probably the top confused
> question I get from people:
>
> % Loop limit expression too large for loop variable type.
>
> (e.g. "for i=0,500000" instead of "for i=0L,500000")

For new users, I always put
compile_opt defint32, strictarr, strictarrsubs
in the idl startup script. That at least covers the command-line. I
wish there was an option to enforce this throughout a session, but
instructing them to use
compile_opt idl2
in each function and procedure isn't too hard.

Maarten
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: idl 7
Next Topic: display polygon on the image

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

Current Time: Wed Oct 08 19:16:21 PDT 2025

Total time taken to generate the page: 0.01462 seconds