trying to puzzle out someone elses code… now wha…

trying to puzzle out someone elses code… now what does the variable txtg do? and how is it different to txth?