[Vala] how to declare multi-dimensional arrays in Genie?
- From: Ron Murawski <ron horizonchess com>
- To: vala-list gnome org
- Subject: [Vala] how to declare multi-dimensional arrays in Genie?
- Date: Wed, 14 Jul 2010 17:44:28 -0400
How to declare a global, uninitialized multi-dimensional array in Genie?
I'm using Vala 0.9.2
The following code does not work:
myarray : uint64[13,64]
error: syntax error, expected ']' but got ',' with previous integer literal
myarray : new uint64[13,64]
error: syntax error, expected ']' but got ',' with previous integer literal
myarray : array of uint64[13,64]
error: syntax error, no expression allowed between array brackets
myarray : new array of uint64[13,64]
error: syntax error, no expression allowed between array brackets
myarray : uint64[13][64]
error: syntax error, expected line end or semicolon but got '['
myarray : array of uint64[13][64]
error: syntax error, no expression allowed between array brackets
Thanks for any help,
Ron
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]