I changed the micro-behaviour as suggested but the behaviour composer
throws errors:
https://weblearn.ox.ac.uk/access/content/user/14894/SET-ATTRIBUTES
Could not find the-power-s0 in substitute-text-area-for the-power-s0
85 substitute-text-area-for the-power-s3 5 substitute-text-area-for
the-power-s4 3 substitute-text-area-for the-power-s5 2
Could not find my-power-s0 in substitute-text-area-for the-power-s3 5
substitute-text-area-for the-power-s4 3 substitute-text-area-for the-
power-s5 2
i tried changing the code to say my-power instead of the-power but
this brings the same error.
i prefer to set multiple attributes in one micro-behaviour simple to
keep the number of MBs smaller and make editing them all easier e.g.
need to click few times to change all attributes.
On Aug 28, 3:33 pm, Ken Kahn <
toont...@googlemail.com> wrote:
> Hi.
> One way to do this all in one micro-behaviour is to edit to be
>
> substitute-text-area-for the-power-s0 85
> substitute-text-area-for the-power-s3 5
> substitute-text-area-for the-power-s4 3
> substitute-text-area-for the-power-s5 2
>
> set my-power-s0 the-power-s0
>
> set my-power-s3 the-power-s3
>
> set my-power-s4 the-power-s4
>
> set my-power-s5 the-power-s5
>
> But perhaps a better way to do this is to copy INITIALISE-ATTRIBUTE 4
> times. It is more modular (perhaps someone will want to add S1 or S2).
>
> Best,
>
> -ken
>
> P.S. There is a trick to using substitute-text-area-for -- the first
> argument should be the string that is replaced by a text box. So
>
> substitute-text-area-for my-power-s0 85
>
> or
>
> substitute-text-area-for power-s0 85
>
> would substitute the box for the first argument to SET rather than the
> desired secoond arg.
>
> 2009/8/28
howard.no...@gmail.com <
howard.no...@gmail.com>
>
>
>
> > I want to use
>
> >
http://modelling4all.nsms.ox.ac.uk/Resources/Composer/en/MB.2/INITIAL...
>
> > to set multiple attributes e.g. like is happening here:
>
> >
http://modelling4all.nsms.ox.ac.uk/Resources/Composer/en/MB.2/SET-WOR...