If I wanted text to appear in the center of the console, this will do it. The math is not that complex :-) Take the console width in columns. Divide by 2. Take the text. Divide by 2. Subtract the latter from the former and add that many spaces to the front.
You can see what's it's doing under the covers by calling it with the /D switch. It does use a few of my other functions so you'll need those two.
Read more
You can see what's it's doing under the covers by calling it with the /D switch. It does use a few of my other functions so you'll need those two.
Code:
...
Read more