Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations SDETERS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

JavaScript Question

Status
Not open for further replies.

Floghe

Computer
Jul 5, 2005
1
Is it possible to implement a finite state machine using javascript. Your comments would be greatly appreciated. Thanks.
 
Replies continue below

Recommended for you

Hi-

In a word, yes. You can pass variables to and from the
client script. Or, you can base your state machine on
time and events. The events can then through other
exceptions, back on itself. Other events can then be
used to pass it though the states of the events.

Cheers,
Rich S.
 
If you are running on windows, you can run the script in WSH on the command prompt to check for syntax errors.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor