06-17-2003, 02:01 AM
Your sample code produces:
00055
00555
05555
55555
If that's what you wanted, fine.
But it has nothing to do with the original subject of placing leading zeros on the Ascii code in order to always have a resulting 3 digit code.
Perhaps you wanted to show that a STRING$ could be used instead of the MID$ in my example. Ok, yes it could.
*****
00055
00555
05555
55555
If that's what you wanted, fine.
But it has nothing to do with the original subject of placing leading zeros on the Ascii code in order to always have a resulting 3 digit code.
Perhaps you wanted to show that a STRING$ could be used instead of the MID$ in my example. Ok, yes it could.
*****