Re: [Vala] (no subject)
- From: Abderrahim Kitouni <a kitouni gmail com>
- To: Geoff Johnson <geoff jay gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] (no subject)
- Date: Wed, 18 Jan 2012 20:33:16 +0100
في ر، 18-01-2012 عند 11:18 -0800 ، كتب Geoff Johnson:
In the class right before the constructor I've declared the property using:
public int n_part { get; set; default=0; }
and as mentioned, I'm able to use it without error inside of the
constructor.
I'm talking about "i", not the property. You wrote:
> for (i = 0; i < n_part; i++) {
shouldn't that be:
for (var i = 0; i < n_part; i++) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]