[molpro-user] Best way to implement a WHILE loop?

Seth Olsen seth.olsen at uq.edu.au
Sun Jul 29 11:12:16 BST 2012


Hi Molpro,

From the manual it is not clear how this should be done.  The apparent way, using GOTO commands to exit the loop, is contraindicated.  I can't find examples of DO loops where the DO loop is exited via an IF construct, so it's not clear to me what the best way is to do this.  Is there a better way than using GOTO to pop out of a DO loop?

Cheers,

Seth
---------------------------------------------------
Seth Olsen
ARC Australian Research Fellow
6-431 Physics Annexe
School of Mathematics and Physics
The University of Queensland
Brisbane QLD 4072 Australia
seth.olsen at uq.edu.au
+61 7 3365 2816
---------------------------------------------------
Unless stated otherwise, this e-mail represents only the views of the Sender and not the views of The University of Queensland

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.molpro.net/pipermail/molpro-user/attachments/20120729/0b284759/attachment.html>


More information about the Molpro-user mailing list