Re: [Vala] [Genie] OptionContext not setting reference
- From: Chris Molozian <chris cmoz me>
- To: Nicolas <c r n a wanadoo fr>
- Cc: vala-list gnome org
- Subject: Re: [Vala] [Genie] OptionContext not setting reference
- Date: Fri, 24 Jun 2011 17:31:18 +0100
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]