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

Home » Public Forums » archive » warning: (all(part1))(part2) = part2*0.
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: warning: (all(part1))(part2) = part2*0. [message #11971 is a reply to message #11882] Fri, 05 June 1998 00:00 Go to previous message
steinhh is currently offline  steinhh
Messages: 260
Registered: June 1994
Senior Member
R. Bauer wrote:

> (all(part1))(part2) = part2*0.

What you're doing here is to assign values to parts of a
temporary value, almost as if you're saying

5*all(part1) = 1

since (all(part1)) is a temporary value (actually, an rvalue)
like any other expression.

I think the error here is that IDL's compiler does not protest,
but instead generates code (seemingly) to do assignments to
a temporary value.

What you should do (with the intended (?) effect) is:

all(part1(part2)) = part2*0

Regards,

Stein Vidar
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Font problems with version 5.1 under win95
Next Topic: IDL on Dual processor Linux SMP box?

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

Current Time: Fri Oct 10 05:23:56 PDT 2025

Total time taken to generate the page: 0.31880 seconds