Just a pointer to http://yudkowsky.net/bayes/bayes.html .
Example Tcl code at Bayesian Networks.
TR - Great link. Very explanatory and easy to follow.