function app.download (string[] links) is not callableusing argument types (string, string)

Evil Satanson via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Nov 27 07:57:25 PST 2014


On Thursday, 27 November 2014 at 14:35:08 UTC, Daniel Kozák via 
Digitalmars-d-learn wrote:
> V Thu, 27 Nov 2014 13:39:40 +0000
> Suliman via Digitalmars-d-learn 
> <digitalmars-d-learn at puremagic.com>
> napsáno:
>
>> I try to compile simple example:
>> 
>> import std.net.curl;
>> 
>> void main()
>> {
>> download("ftp.digitalmars.com/sieve.ds", 
>> "D:\\Project\\2014\\txt_downloader\\img\\1.foo");
>> 
>> }
>> 
>> but I am getting error:
>> 
>> function app.download (string[] links) is not callableusing 
>> argument types (string, string)
> please try std.net.curl.download("ftp.digitalmars.com/sieve.ds",
> "D:\\Project\\2014\\txt_downloader\\img\\1.foo");
>
> seems you have some name colision

He has, I've seen his whole code. And it's pretty obviuse :-D Let 
him guess what it is xD


More information about the Digitalmars-d-learn mailing list