On Tue, Feb 20, 2001 at 11:47:34AM +1100, Jill Rowling wrote:
> Just to be difficult, what's the difference then between multiple exits and
> a (C) switch statement?
> Apart from the more elegant appearance of the case / switch, when you come
> out at the end you can't say for certain where you came from (other than
> what you were switching for!).

As a switch's statement can be replaced by a heap of ifs, elses and a
matched_one boolean, switch's behaviour is deterministic and it should
be possible to trace the flow of control through the statement (usually
a block).

I'm thinking of turning up to the meeting on friday. Will there copies
of potato available? What is the usual cost for these?
*grumble* slow modem connection...

-- 
Tom

main(){++*(int*)0;}

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to