Sorry for taking long to respond.
I don't actually know what happens for I have never dealt with those commands before, but I can guess.
Apparently, getMode(n) will find what mode a calculator is with section n. So, section 2 is angle mode. Therefore, the output is either the words "radian" or "degree", or the output is either 1 or 2. With the first set of answers, there might not be a lot you can do. With the second set, you can use the numbers in conditions. So, If getMode(2)=1 Disp "Radian".
When I get the chance, I'll look it up in the manual.