> PrivateMyVariableSet is not intialised, so will have an undefined > (random) value when InitMyVariable is first called. > Mattias' code given earlier avoids this problem. Bzzzt. Wrong. Global variables (even in the implementation section) are always initialized to 0.