Am 08.05.2012 19:55, schrieb Klaus Rotter:
I am trying to get familiar with genie. Compiling the following code is not possible: [...]
Well, I found the reason myself. Shame on me ;-( print does not convert from int to string! This version works: [indent=2] init var a = new array of int = {1, 2, 3, 4, 5, 6, 7, 8} for s in a do print("%d",s) print ("Length array: %d",a.length) var b = "Hello World" print ("Length string: %d",b.length) -Klaus -- Klaus Rotter * klaus at rotters dot de * www.rotters.de _______________________________________________ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list