--- Dominique Devienne <[EMAIL PROTECTED]> wrote: > On 7/31/07, Matt Benson <[EMAIL PROTECTED]> > wrote: > > <scriptcondition> originally behaved such that a > > default value can be declared on the task as an > > attribute, and the embedded script can set the > > condition value. I preserved this behavior, but > added > > a preference for a return value, if any, from the > > script: again, on the basis that this seemed a > (more) > > natural behavior to me. DD, you said "not > returning a > > value is fine by you"... and that's what > > <scriptcondition> always did, and _should_ still > > allow... am _I_ missing anything (other than > whatever > > I've apparently done to break python > compatibility)? > > Ah, sorry, I meant that "not returning a value is > meaningless to me".
Okay, that's clearer. :) I think I've made it clear that I agree with you here. However, we both know we as a developer community will preserve BC given the choice. Further, maybe there is or will be some scripting language that won't support return values. > Sure, if a default value for the condition is set as > an attribute, why > not (although I don't see why that's necessary or > useful), but a > scriptcondition is supposed to be a script fragment > which returns a > boolean value, and I don't see the point of not > returning a value. > --DD > > PS: The error message could be nicer though ;-) Which error message? The one Alexey is getting from the jython problem? -Matt > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > ____________________________________________________________________________________ Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games. http://sims.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]