Graphing FSMs

ltaesch@REDACTED ltaesch@REDACTED
Thu Jul 13 15:40:57 CEST 2000


Subject: Graphing FSMs 
     From: "Vance Shipley" <vances@REDACTED> 
     Date: Sat, 8 Jul 2000 21:27:10 -0400 
     Importance: Normal 
     In-Reply-To: <NBBBIOHCCJPPDNIBBIKCOECPCEAA.vances@REDACTED> 
     Message-ID: <NBBBIOHCCJPPDNIBBIKCKEDPCEAA.vances@REDACTED> 

great ! I was expecting fsm drawing for a while, ( after failing doing some nice myself!).

i succedded working out dot-Teps...

but i cant make the graph.erl
.as im newby, i probably used the wrong fsm.

here is my test program. can u certify it should passes, or send the test u use ?

thks a lot, 

Luc


-module(tst).
-export(idle/2).
-behaviour(gen_fsm).


idle(Event, StateData) ->
			case Event of
				offhook -> 
					NextStateData = StateData,
					NextStateName = dialtone;
				incoming ->
					NextStateData = StateData,
					NextStateName = ringing
			end,
			{next_state, NextStateName, NextStateData} 
				

------------------------------------------------------
Get free personalized email at http://four11.iname.com



More information about the erlang-questions mailing list