Here's the promised follow-up to my previous article, Testing a State Machine with ODT, which contains the source code samples and a link to the downloadable projects.
The Visual Studio .NET 2003 project (C#).
The TestComplete 4 project (Jscript).
The first code listing (odtStateMachineImpl.sj):
The second code listing (the Main routine):