I have this very simple program:
n=0;
{
Button["Play", a = RandomInteger[10];b = RandomInteger[10];n+=1 ],
Dynamic[a], "vs", Dynamic[b], "draw number:", Dynamic[n]
}
When I run it, only the first variable visually updates in the output line. If I ask for the value of b or n, I can see that they do change every time, but it is not dynamically visible. This is a big problem for me. Is it ab browser issue? Sometimes the b gets updated, sometimes not...