In this paper, we study the limit properties of countable nonhomogeneous Markov chains in the generalized gambling system by means of constructing compatible distributions and martingales. By allowing random selection functions to take values in arbitrary intervals, the concept of random selection is generalized. As corollaries, some strong limit theorems and the asymptotic equipartition property (AEP) theorems for countable nonhomogeneous Markov chains in the generalized gambling system are established. Some results obtained are extended.