Re: [Vala] [Genie] OptionContext not setting reference



Thanks,

I had hoped that "args = args[1:args.length]" was an elegant way to remove an argument from the array that is of no use to my program. It seems that line didn't do what I expected.

Cheers,

Chris


On 06/24/11 15:58, Nicolas wrote:
Hello again !

The problem in your program is: args = args[1:args.length]
The first arg is not taken by the program, so just delete this unecessary line, and it works !

Regards,
Nicolas.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]