Re: Styles in AppleWorks??
Re: Styles in AppleWorks??
- Subject: Re: Styles in AppleWorks??
- From: "Jason W. Bruce" <email@hidden>
- Date: Tue, 20 Feb 2001 13:07:16 +0000
Harald E Brandt stated:
* * * *
>
But how on earth should I have been able to deduce from the dictionary that
>
the on/off styles are record labels?? I guess that means that the value of the
>
class 'text style info' is really a record(?) Or...?
>
Why doesn't the dictionary say so, or if it really does,
>
how shall I interpret it? (Would be good to know for the next time.)
>
>
I.e, how can I (from the dictionary) know that properties CANNOT be set by:
>
set on styles of style of word 1 to {bold}
>
but must be set by:
>
set style of word 1 to {on styles:{bold}}
>
>
The only clue I can see is that 'on styles' is a list. But on the other hand,
>
not all lists are records!? Hmm...
I agree. Dictionaries are very difficult to decipher. I wish they would
include syntax examples so that Scripters needn't spend hours of trial and
error figuring them out.
Jason Bruce