02-19-2025, 06:06 AM
Question: What is all this crapola?
j = Len(button$(k)): a$ = " " + button$(k) + " "
Mid$(a$, 1, j))
Isn't this just adding a space in front of the button$(k) and removing one letter off the right of button$(k)?
Why not: a$ = " " + LEFT$(button$(k), LEN(button$(k) -1)
Then you can get rid of the variable j, and simplify those MID$ statements to just a$.
j = Len(button$(k)): a$ = " " + button$(k) + " "
Mid$(a$, 1, j))
Isn't this just adding a space in front of the button$(k) and removing one letter off the right of button$(k)?
Why not: a$ = " " + LEFT$(button$(k), LEN(button$(k) -1)
Then you can get rid of the variable j, and simplify those MID$ statements to just a$.