Line wrapping
Richard Gaskin
ambassador at fourthworld.com
Mon Aug 17 23:01:22 EDT 2009
stephen barncard wrote:
> It's better for one to do one's own wrapping.
> for instance
>
> put field "myField" of cd "myCard" of stack "myStack" into field "myField2"
> of cd "nextCard" of stack "otherStack"
>
> is a horrible jumble of garbage to the eyes, but
>
> put\
>
> field "myField" \
>
> of cd "myCard" \
>
> of stack "myStack" \
>
> into field "myField2" \
>
> of cd "nextCard" \
>
> of stack "otherStack"
>
>
> makes a lot of sense. Automatic wrapping can't do that. And it's easier to
> edit the references. And the compiler and indenter both are happy with it.
> And one can make the edit window narrower.
A good point, well illustrated.
Another benefit of adding line wraps manually is that it requires you to
read the code at least well enough to find usful line breaks, sometimes
a useful task when inheriting a code base.
--
Richard Gaskin
Fourth World
Revolution training and consulting: http://www.fourthworld.com
Webzine for Rev developers: http://www.revjournal.com
More information about the use-livecode
mailing list