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

Home » Public Forums » archive » Re: Anyway to avoid this last for loop
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: Anyway to avoid this last for loop [message #64668 is a reply to message #64594] Fri, 09 January 2009 10:28 Go to previous message
Jeremy Bailin is currently offline  Jeremy Bailin
Messages: 618
Registered: April 2008
Senior Member
> Can't these last four lines be replaced by
>    detHist = detHist<1
>    acHist  = acHist<1
>
> The < and > operators are useful though not necessarily intuitive.

For that matter, those operators are valid for the op= construction,
so you can write the very efficient (in both performance and typing
time):

detHist <= 1

but which will confuse the hell out of people who normally think in
most other languages where <= is a comparison. ;-)

-Jeremy.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Compile/Restore on Startup
Next Topic: How to write an array into a dateset as a band, not a dateset?

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

Current Time: Sat Oct 11 15:28:41 PDT 2025

Total time taken to generate the page: 0.64050 seconds