Help required on Array appender

Vino.B via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Sep 2 16:40:46 PDT 2017


On Saturday, 2 September 2017 at 22:39:33 UTC, Nicholas Wilson 
wrote:
> On Saturday, 2 September 2017 at 21:11:17 UTC, Vino.B wrote:
>> On Saturday, 2 September 2017 at 15:47:31 UTC, Vino.B wrote:
>>> On Saturday, 2 September 2017 at 12:54:48 UTC, Nicholas 
>>> Wilson wrote:
>>>> [...]
>>>
>>> Hi,
>>>
>>> [...]
>>
>> Hi,
>>
>>   Was able to resolve the above issue, but again getting the 
>> same for other lines such as below when i tried to add the 
>> appender.
>>
>> auto CleanDirlst = appender([]);
>> CleanDirlst ~= PVStore[1][i].to!string.split(",");
>>
>>
>> Error: cannot implicitly convert expression appender([]) of 
>> type Appender!(void[]) to string[].
>
> You want `Appender!(string[])`

Hi,

   Thank you very much, was able to resolve the issue.



More information about the Digitalmars-d-learn mailing list