sys.fmt_integer() formats a integer variable using the passed in format.
It stores the formatted value in <aret>.
<ival> is not changed by sys.fmt_integer().
Bugs/Features/Comments:
It's difficult to tell if you passed in an invalid format,
though if you do, the application will probably display an
error message at runtime.