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

Home » Public Forums » archive » BREAK statement
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: BREAK statement [message #91361 is a reply to message #91360] Fri, 03 July 2015 08:57 Go to previous message
Helder Marchetto is currently offline  Helder Marchetto
Messages: 520
Registered: November 2011
Senior Member
On Friday, July 3, 2015 at 5:31:25 PM UTC+2, g.na...@gmail.com wrote:
> If the problem is the way that I passed the variables then why when I used the BREAK instead of RETURN the 'EXIT WHILE LOOP' printed? I am not saying that is the same thing obviously is doing something different but the A_test was there. That's why I get confused.

Yes, you're for sure confused.
break exits the while loop and then the print "exit while loop" is printed. Return exits the procedure.

I don't think you will find someone willing to understand your problem and explain the basics of programming. It's Friday afternoon, at least here, and the weekend has either already started or is going to start pretty soon. There's no better time to get your hands on a programming book or tutorial and see how all these loops, procedures and functions work together.

Good luck.

Cheers,
Helder
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: function graphic question
Next Topic: plotting a sub field image..

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

Current Time: Wed Oct 08 20:04:42 PDT 2025

Total time taken to generate the page: 0.00412 seconds