What is the script error in this line?

I am using DT to learn mel. Is something in this line out-dated?

setAttr ($div + “.input2x”) $arcLen;

dont know what your trying to setAttr on but at first glance, try with capital X so;

setAttr ($div + “.input2X”) $arcLen;