Ok that works, thanks for the help. Could you explain why I can't define
an array of OptionEntry objects in the scope of init?
Cheers,
Chris
On 06/19/11 10:23, Nicolas wrote:
Hi Chris,
Try this:
[indent=4]
version : bool = false
const my_options : array of OptionEntry = {{"version", 'V', 0,
OptionArg.NONE, ref version, "Show application's version", null}, {null}}
init
print "Hello"
See you,
Nicolas.
_______________________________________________
vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list