state mach{ne...

hi,

I am looking for some info on how can we implement state machines.

Conceptually it appears to be good but while implementing it causes lot of confusion..

I have some doubts regarding this concept.

(my explanation may look wired, as I am also not clear on this front)
The commonly adopted strategy to implement state machine is to have array of function pointers to handle a state. When ever appropriate input is recv the array is activated or used to trigger the functions.
(I don't have solid example, sorry for making it difficult to understand)

Can somebody add some info on this...

Regards,
Parasa Kiran

Rules -> (10) Don't post your email address and ask for an email reply. The forums are for the benefit of all, so all Q&A should take place in the forums.

Hi,

Sorry for that..

I have removed my email-id.

But it shows up on your post.

kindly edit it...

Regards,