variable.c: New function var_set_width_and_formats