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

Home » Public Forums » archive » Square Brackets vs. Parentheses
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: Square Brackets vs. Parentheses [message #22674 is a reply to message #22575] Fri, 24 November 2000 13:30 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Eric Pilger (pilger@higp.hawaii.edu) writes:

> Square brackets are only for arrays. Parentheses are only for functions.
>
> Needless to say, I have a user who has been playing loose with this
> stuff for years. He now has hundreds of routines that use parentheses
> for arrays AND functions, and are therefore broken under IDL 5.4. Does
> anybody out there have a fix for this problem? Possibly a nice little
> parser/translator that can figure out what's meant and stick in the
> appropriate symbol :-) After all, IDL was doing it for years.

Square bracket notation is "suggested", even "preferred",
but not "required" at all. Why do you think so?

Best Regards,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Associate file type with IDL procedure?
Next Topic: LONG AND NARROW IMAGE

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

Current Time: Sat Oct 11 12:59:12 PDT 2025

Total time taken to generate the page: 0.64309 seconds