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

Home » Public Forums » archive » Re: Removing if then else loop for efficiency
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: Removing if then else loop for efficiency [message #69305 is a reply to message #69304] Sun, 10 January 2010 06:42 Go to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Jan 10, 10:06 am, Tom Ashbee <tlash...@googlemail.com> wrote:
>
> It's way too slow at the moment, but I gather I can remove one of the
> for loops and the if then else loop but I have no idea how!

It is impossible to tell without knowing what happens in the lines you
omitted.

if..then..else is not a loop, it is a conditional construct. Loops are
control structures that (potentially) make some piece of code get
executed multiple times, such as for, while and repeat.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: pointer & structure
Next Topic: Re: Greek Symbols in Plot Annotations

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

Current Time: Sat Oct 11 00:09:38 PDT 2025

Total time taken to generate the page: 1.75952 seconds