hexagon logo

variable set Vs. variable modify

hello everyone.
Im the fresh for command. Could someone tell me, whats the difference the variable set and variable modify. Best way with example. Of couse, I have read the help doc. But its till mess for me.
 
thanks in advanced.
zhenhui xu