Re: [Vala] [Genie] Need help with "for" statement
- From: Jamie McCracken <jamie mccrack googlemail com>
- To: Nicolas <c r n a wanadoo fr>
- Cc: vala-list gnome org
- Subject: Re: [Vala] [Genie] Need help with "for" statement
- Date: Sat, 20 Jun 2009 14:21:57 -0400
On Sat, 2009-06-20 at 20:04 +0200, Nicolas wrote:
Hi,
Someone know how can i convert this from c# to vala or genie:
for (int i=0; i < linesPerPage && line < numLines; i++)
Genie:
var i = 0
while (i < linesPerPage and line < numLines)
// do blah here
i++
jamie
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]