#CRLF$ without the $
Posted: Sun Jan 06, 2008 4:36 am
We have #CR and #LF. Can we please have a native #CRLF?
http://www.purebasic.com
https://www.purebasic.fr/english/
#CR => 13Mistrel wrote:We have #CR and #LF. Can we please have a native #CRLF?
#CRLF = #LF << 8 | #CR, isn't it?Kiffi wrote:#CR => 13Mistrel wrote:We have #CR and #LF. Can we please have a native #CRLF?
#LF => 10
#CRLF => ???
1310? 23?
Greetings ... Kiffi
Code: Select all
#CRLF = #LF << 8 | #CR
a.s = #CRLF$
Debug PeekW(@a)
Debug #CRLF
; Try if Chr() works with such constructs which could be misunderstood as unicode characters.
If Chr(#CRLF) = Chr(#CR) + Chr(#LF)
Debug "Works."
Else
Debug "Works definately not."
EndIf