From: "Ara.T.Howard" Date: 2005-11-23T00:08:33+09:00 Subject: Re: semenatics of if/unless/while statement modifiers On Tue, 22 Nov 2005, Stefan Kaes wrote: > I'm afraid I don't understand what you're driving at, although I have read > the Hitchhiker's guide. well that's a start ;-) > Maybe there's some fine irony hidden here, but I just don't get it. nothing hidden. just that in your first post you said: > I found that > > if (variable = expr) > ... do something with variable ... > end > > works, whereas > > ... do something with variable ... if (variable = expr) > > doesn't. i'm simply pointing out that variable = expr and do something with variable is an idiom that's reatively elegent, efficient, intuitive, and understandable while side-stepping any ugliness issues having to do with statement modifiers. cheers. -a -- =============================================================================== | ara [dot] t [dot] howard [at] gmail [dot] com | all happiness comes from the desire for others to be happy. all misery | comes from the desire for oneself to be happy. | -- bodhicaryavatara ===============================================================================