On 3/3/21 1:51 PM, Brian Milby via use-livecode wrote:
If you want to be the most accurate (clear for others reading code) you would
use the LF constant instead of CR since that is how it actually evaluates. The
only way to generate an actual CR within code is to use CRLF (which gets both)
or use numtobyte(13).
If you export as text, then you get what is expected on Win/Linux and get CR on
Mac (which is wrong in my opinion).
On the other hand, if you export text as binary you get whatever you wrote, and automatic line
endings aren't converted.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode