setbox function

Set a box to constant