Quote:

alot of people seem to be using 160 lately. Please use $chr(32)
160 is not a space in all fonts


That's because when you type several consecutive spaces into the Scripts Editor, only the first space is recognized; all spaces that follow are ignored.

That's why we use $chr(160) to force blank spaces in our scripts.

In LethPhaos' situation indeed a $chr(32) was needed but this is $chr(32) Vs. $chr(160)

Code:
//echo -a $str($chr(32),6) Hello | echo -a $str($chr(160),6) Hello


Using this will align the second Hello (with $chr(160)) starting the H below the o from the first Hello (without $chr(160))

//echo -a Hello $+ $chr(32) $+ world!

Returns Hello world!

//echo -a Hello $+ $chr(160) $+ world!

Returns Hello world!

//echo -a Hello $+ $str($chr(32),2) $+ world!

Returns Hello world! (but with only one space)

//echo -a Hello $+ $str($chr(160),2) $+ world!

Returns Hello world! (but with 2 spaces)

Last edited by SladeKraven; 17/03/05 09:19 PM.