Emil Tchekov ha scritto:
> CHR$(10) & CHR$(13) - carriage return & line feed
> Those are special "command" character from the "stone age" of the informatic
> used to go to the next line (add new line) - was needed in the times where a
> martix printer with ink ribbon the single output device of the computer
> was....
>   
Pardon me to point out. I disagree,
chr$(13) is CR; chr$(10) is LF.
While it is true they are an old standard, saying they are "from the 
stone age" is not fair. HTTP protocol relies on CR-LF, and you must 
admit that HTTP protocol is well alive - not a "stone age" standard. The 
fact CR-LF is so old is a proof of its power.
Moreover, text files are the most expressive and versatile form of 
digital data. Html, Xml, Svg, Postscript, PDF, are all in wide use and 
are based on ASCII, and so they contain CR-LF sequences.

The fact Unix/Linux uses a single LF instead of a CR-LF is pretty 
marginal - it was simply a design choice. A windows HTTP server can take 
text files from disk and serve them verbatim, while a Unix HTTP server 
has to translate them (to add the missing CR). Anyway, the concept is 
the same. Most programs today can cope perfectly well with this two 
standars.

In the end, the only thing I wanted to say is that CR and LF are far 
more than what you depicted, and they are still needed.

Regards,

-- 
Doriano Blengino

"Listen twice before you speak.
This is why we have two ears, but only one mouth."


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to