Path: utzoo!mnetor!uunet!husc6!bloom-beacon!gatech!purdue!i.cc.purdue.edu!j.cc.purdue.edu!pur-ee!uiucdcs!uxc.cso.uiuc.edu!urbsdc!aglew
From: aglew@urbsdc.Urbana.Gould.COM
Newsgroups: comp.software-eng
Subject: Re: State Machines, The Ultimate Go
Message-ID: <56900001@urbsdc>
Date: 7 May 88 21:49:00 GMT
References: <4627@ihlpf.ATT.COM>
Lines: 27
Nf-ID: #R:ihlpf.ATT.COM:4627:urbsdc:56900001:000:865
Nf-From: urbsdc.Urbana.Gould.COM!aglew    May  7 16:49:00 1988


>>Goto logic says leave and don't come back.
>
>Not true.  For example:
>
>	FOO:	goto FOO;
>
>Goto logic says you can come here anytime you need to and from anywhere you
>want to (within limits, of course).

So, maybe we need a "come from" statement at each label?

eg.
	state1(come-from state2, state3):
		goto state4;

{-: smileys, because I read the "come from" spoof - but half seriously :-}


Andy "Krazy" Glew. Gould CSD-Urbana.    1101 E. University, Urbana, IL 61801   
    aglew@gould.com     	- preferred, if you have MX records
    aglew@xenurus.gould.com     - if you don't
    ...!ihnp4!uiucuxc!ccvaxa!aglew  - paths may still be the only way
   
My opinions are my own, and are not the opinions of my employer, or any
other organisation. I indicate my company only so that the reader may
account for any possible bias I may have towards our products.