Re: [Vala] converting int to string
- From: stefan risberg <steffenomak gmail com>
- To: vala-list gnome org
- Subject: Re: [Vala] converting int to string
- Date: Wed, 3 Aug 2011 15:26:35 +0200
Hi, why this not work?
root_object.has_member((string)feed_index)
and I have to use this?
root_object.has_member(feed_index.to_string())
thx
Thats because when you cast an int to string it will sometime convert
wrongly and string is an object while int isn't.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]