[comp.software-eng] State Machines, The Ultimate Go

aglew@urbsdc.Urbana.Gould.COM (05/08/88)

>>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.