1.

Solve : Linear Displacement..?

Answer»

To start of right away, Somebody asked me to make something to prompt the FOLLOWING text:
I <3 CMD
So i did.. But, each line of chars is followed by a blank one, atleast so it seems..

I tried it in 2 diffrent ways, 1st using ECHO on each line, 2nd using TYPE in relation to a TXT file.

Check link for image:
http://img295.imageshack.us/img295/2616/ilovecmduj7.jpg

Any idea's / explanation would be really appreciated, as usual.what code did you use to generate it ?Maybe it's because in the screen font, the asterisk * is at the top of the character position so under it is blank space. Use a capital X and there will be a better appearance.




The code:

color 1F
TITLE I Love CMD
cls
@ECHO OFF
ECHO *
ECHO ******* ** ******* ********* **** **** *******
ECHO ******* ** ******** ********** **** **** *********
ECHO ** ** ** ** ** ** ** ** ** **
ECHO ** ** ** ** ** **** ** ** **
ECHO ** ** ******** ** ** ** ** ** **
ECHO ** ** ******** ** ** ** ** ** **
ECHO ** ** ** ** ** ** ** **
ECHO ** ** ** ** ** ** ** **
ECHO ****** ** ******** ********** ** ** *********
ECHO ****** ** ******* ********* ** ** *******
ECHO *
pause
exit

its known what its supposed to say but when i copyed/pasted it from the batch to here, this was the result :/ but in the batch it looks just fine.Your problem is the line spacing in CMD.
sorry, it was not in the spacing.
it was simply to long .. since cmd doesnt run maximized, except if you want to count FULLSCREEN.., each line had a few charachters to much ergo placing those on the next line, these being spaces HENCE not dissplayed and hard to just notice when you dont know this.., so only in that way ill say its in the spacing :p.. thanks for all the help though.



Discussion

No Comment Found