Subject: RE: Return or raise in a task symbol
From: Thomas Weigert (thomas.weigert#motorola.com)
Date: Tue Dec 12 2000 - 20:25:25 GMT
There seems to be no harm in allowing this. Albeit the flow of control won't
ever get to what follows the task I don't see much difference to, e.g.,
task if(not true=false) return; else output S;
Again, flow of control will never go beyond the task. Ruling these cases out
by conditions seems very hard.
Th.
> -----Original Message-----
> From: owner-meeting#sdl-forum.org [mailto:owner-meeting#sdl-forum.org]On
> Subject: Return or raise in a task symbol
>
>
> As far as I can determine, it is allowed to have a return or
> raise statement
> in a task symbol with no other statements.
>
> This does make sense to me, because a task symbol always has to
> be followed
> by another symbol.
>
> Why is there not a condition that prevents this?
>
This archive was generated by hypermail 2a23 : Mon May 05 2008 - 20:30:55 GMT