On Jun 2, 2012, at 3:10 PM, Massimo Di Pierro wrote:
> Not sure I understand. You can return from a function defined in a model but 
> it will not shortcut the model.

I mean: return from the main line of the model itself. And you can't. I thought 
an exec might be like a function call in that respect, but it's not, and a 
return statement is just a syntax error.

Not a big deal; I can just conditionally execute the bulk of my code.

How about this: can I raise HTTP 200 from a model, and supply a simple string 
response?


> 
> On Saturday, 2 June 2012 16:53:14 UTC-5, Jonathan Lundell wrote:
> I can return from the middle of a model (to conditionally short-circuit it), 
> right?


Reply via email to