Conditional Expressions don't solve the problem

Dale Strickland-Clark dale at riverhall.NOTHANKS.co.uk
Wed Oct 17 13:51:03 EDT 2001


>
>Something like:
>
>while foo != terminating_condition; given foo = some_long_expression:
>    body_of_loop()
>
>or maybe "where":
>
>while foo != terminating_condition; where foo = some_long_expression:
>    body_of_loop()
>

Sorry but these don't work for me. Given that foo is still quoted
twice, it doesn't really buy you much.
--
Dale Strickland-Clark
Riverhall Systems Ltd



More information about the Python-list mailing list