cr and return

Dar Scott dsc at swcp.com
Tue Jul 1 19:58:09 EDT 2003


On Tuesday, July 1, 2003, at 06:32 PM, erik hansen wrote:

> so, there are no cross platform problems
> with using either return or cr?

Only cross programmer problems.

A new programmer might read over some code for serial or tcp/ip I/O 
several times before realizing the CR in the script should be changed 
to numToChar(13).  I might.

Fortunately, it is possible to write scripts so that these issues only 
come up in the isolated low level I/O and all other layers use the 
standard line end, whatever the name.

Dar Scott




More information about the use-livecode mailing list