Hello, World!

Era Scarecrow rtcvb32 at yahoo.com
Sat Mar 26 02:44:33 UTC 2022


On Friday, 25 March 2022 at 20:29:22 UTC, Ali Çehreli wrote:
> It may be useful if you want an additional empty line. ;)
>
> Otherwise, writeln is short form "write line", implying a 
> newline will be printed at the end. (Conversely, write() does 
> not add a newline.)

  If a website was used to compile/output data, it might have 
truncated the newline(s). HTML afterall doesn't honor 
whitespacing. If it were **pre**formatted aka <pre> then would 
honor the text formatting.

  Using octal dump you could see the actual output.

```
$ ./test.exe | od -t c
0000000   H   e   l   l   o   ,       W   o   r   l   d   !  \r  
\n  \r
0000020  \n
```


More information about the Digitalmars-d mailing list