• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: line breaking and indenting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: line breaking and indenting


  • Subject: Re: line breaking and indenting
  • From: "Arthur J Knapp" <email@hidden>
  • Date: Sun, 28 Jan 2001 16:43:25 -0500

> From: Gakuji Ohtori <email@hidden>
> Date: Mon, 29 Jan 2001 01:39:53 +0900
> Subject: line breaking and indenting

> Question 1:
>
> The script
>
> set a to ,
> {,
> a:1,,
> b:2,,
> c:3,
> }
>
> becomes
>
> set a to ,
> ,
> ,
> {a:1, b:2, c:3 ,
> } ,
>
> after a compilation. Are there any ways to avoid this? Probably not.

-- If the visual formatting is very important for the sake
-- of clarity, you might try this:
--
property RecordABC : run script ,
"{,
a:1,,
b:2,,
c:3,
}"

> Question 2:
>
> It seems records do not allow line-breaking with the continuation
> character between their properties. No ways to line-break between
> properties?

You can get fairly good results by placing parentheses around the
values, and placing the continuation character between the value and
the comma:

{a:(1) ,
, b:(2) ,
, c:(3) ,
}


How's this for strange:

{a:,
(1) ,
, b:,
(2) ,
, c:,
(3) ,
}





--
{
Arthur J Knapp, of STELLARViSIONs ;

http://www.STELLARViSIONs.com ;

mailto:email@hidden ;

"...it's not my birthday,
it's not today..."
}


  • Prev by Date: 'bzy ' files was: Re: R23's Osaxen Rant...
  • Next by Date: Re: Conflict with Smile's Scripting Additions.
  • Previous by thread: Re: line breaking and indenting
  • Next by thread: Re: line breaking and indenting
  • Index(es):
    • Date
    • Thread