Hi, It sets 100 to X and 200 to Y. (<- first of all, is it correct?) No. With 'set', the variable must be mentioned first. It sets X to 100 and Y to 200.
Does the sentence below have the same meaning as the above?
It sets 100, 200 to X, Y.
No, see above. However, you could say (eg about a computer program) It moves 100 to X and 200 to