1 |
On Sunday 22 Apr 2012 09:16:43 Neil Bothwick wrote: |
2 |
> On Sun, 22 Apr 2012 08:02:13 +0100, Mick wrote: |
3 |
> > modules_3_2="cls_tcindex" |
4 |
> > modules_3_2="${modules_3_2} cls_tcindex" |
5 |
> > |
6 |
> > and only the last one actually loads. I don't understand how this |
7 |
> > works or what ${modules_3_2} does ... |
8 |
> |
9 |
> The first one replaces the contents of modules_3_2 with cls_tcindex, the |
10 |
> second adds cls_tcindex to any existing contents of modules_3_2. They are |
11 |
> the string equivalents of |
12 |
> |
13 |
> x=1 |
14 |
> x=x+1 |
15 |
|
16 |
Awww! I see! So, if I have a list of modules on separate lines; e.g. |
17 |
|
18 |
modules_3_2="x" |
19 |
|
20 |
modules_3_2="y" |
21 |
|
22 |
modules_3_2="z" |
23 |
|
24 |
only module z will load - unless I add the ${modules_3_2} string! |
25 |
|
26 |
It makes sense now. Thank you for explaining this! :-) |
27 |
-- |
28 |
Regards, |
29 |
Mick |