There are five items of data in the list passed to sprintf, not three. They are:
Therefore, your format string in the sprintf call should have enough placeholders (five!) to match this list and not merely the three currently present.
In reply to Re^3: Subroutine not correct (I think)
by hippo
in thread Subroutine not correct (I think)
by jcklasseter
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |