cr and return
erik hansen
erikhans08 at yahoo.com
Tue Jul 1 20:11:01 EDT 2003
--- Dar Scott <dsc at swcp.com> wrote:
>
> 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.
so stick with "return" unless you know
what you are doing.
thanks again,
erik
=====
erik at erikhansen.org http://www.erikhansen.org
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
More information about the use-livecode
mailing list