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

Home » Public Forums » archive » Use of Temporary( ) vs an Optimised Compiler
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: Use of Temporary( ) vs an Optimised Compiler [message #28269 is a reply to message #28197] Tue, 27 November 2001 11:13 Go to previous message
Liam E. Gumley is currently offline  Liam E. Gumley
Messages: 378
Registered: January 2000
Senior Member
Craig Markwardt wrote:
[stuff deleted]
> In fact, I am not sure that IDL makes any guarantees about order of
> evaluation and side effects.

For an explanation of operator precedence:

IDL> ? operator precedence

In short, it's not the order of evaluation that matters: it's the
precedence of the operators in the expression. The order matters only
when you have operators of equal precedence, in which case the
expression is evaluated from left to right.

As the documentation says, "when in doubt, parenthesize".

Cheers,
Liam.
Practical IDL Programming
http://www.gumley.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: removing old IDL versions
Next Topic: Automatic truncation of trailing dimension.....

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

Current Time: Wed Oct 08 17:46:32 PDT 2025

Total time taken to generate the page: 0.00508 seconds