Re: line breaking and indenting
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..."
}