On 12/7/04 4:13 AM, "Scott Haneda" <[EMAIL PROTECTED]> wrote:
>> ??? I don't understand the question. 'Real returns' are what you just added >> (return & return & return...). Where are you getting the leading spaces? > > What I meant was how to format AS code visually. I tried something like > this: > "this is a test" & return & " > Some other test" > This particular method is also dangerous. In Panther's Script Editor, it will incorporate Unix line feeds, not Mac carriage returns, inside the literal (quoted) string. Then when you run the script in Entourage, you won't see carriage returns where you expect them. So you're better off just using the return constant as you were doing, or take Barry's suggestion of the option-return � keystroke. > It just makes it easier for me to read in the AS editor. I get the feeling > from many of the scripts I look over in AS that you just have to live with > not getting to use tab indention in your code in all places, especially > concatenation. The above test game me this: > This is a tset > Some other test > > It was that leading space that I wanted to get rid of, and only one long > string did it for me, which makes the code less readable to me. -- Paul Berkowitz MVP MacOffice Entourage FAQ Page: <http://www.entourage.mvps.org/faq/index.html> AppleScripts for Entourage: <http://macscripter.net/scriptbuilders/> PLEASE always state which version of Microsoft Office you are using - **2004**, X or 2001. It's often impossible to answer your questions otherwise. -- To unsubscribe: <mailto:[EMAIL PROTECTED]> archives: <http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/> old-archive: <http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>
