|
|
On 19-1-2016 17:40, dick balaska wrote:
> On 1/19/2016 3:13 AM, Thomas de Groot wrote:
>> I am baffled.
>
>> What to do? Thanks.
>
> I had a similar need. I ended up doing this and using the appropriate
> array as needed...
>
> #declare TexArray =
> array[12]{
> T_Stone1, T_Stone2,
> T_Stone3, T_Stone4,
> T_Stone5, T_Stone6,
> T_Stone7, T_Stone8,
> T_Stone9, T_Stone10,
> T_Stone11, T_Stone12
> };
> #declare TexArrayText =
> array[12]{
> "T_Stone1", "T_Stone2",
> "T_Stone3", "T_Stone4",
> "T_Stone5", "T_Stone6",
> "T_Stone7", "T_Stone8",
> "T_Stone9", "T_Stone10",
> "T_Stone11", "T_Stone12"
> };
>
Yes, it seems this is the way I shall have to go.
--
Thomas
Post a reply to this message
|
|
|
|
On 20.01.2016 8:43, Thomas de Groot wrote:
> On 19-1-2016 17:40, dick balaska wrote:
>> I had a similar need. I ended up doing this and using the appropriate
>> array as needed...
>>
>> #declare TexArray =
>> array[12]{
>> T_Stone1, T_Stone2, ...
>> };
>> #declare TexArrayText =
>> array[12]{
>> "T_Stone1", "T_Stone2", ...
>> };
>>
> Yes, it seems this is the way I shall have to go.
Note as far as I understand it you don't need to
maintain the list twice, just keep the string version
and fill the non-string version in a loop with
Parse_String as suggested by Jaime.
Post a reply to this message
|
|