M
Matt Gilarde
Guest
Can you provide code that demonstrates what you're seeing? I can't get the same results and I don't see anything in the CHR or REPLACE functions that would cause it. DEF VAR a AS CHAR INIT "abc". a = REPLACE(a, "b", CHR(10)). MESSAGE ASC(SUBSTRING(a, 1, 1)) ASC(SUBSTRING(a, 2, 1)) ASC(SUBSTRING(a, 3, 1)). This code shows: 97 10 99 If I write the string to a file the LF is converted to CR/LF, but that conversion can be avoided with the BINARY option on the OUTPUT TO statement.
Continue reading...
Continue reading...