[Vala] length method
- From: Kris Thomsen <lakristho gmail com>
- To: vala-list gnome org
- Subject: [Vala] length method
- Date: Wed, 30 Mar 2011 10:07:52 +0200
Hi,
I'm new to Vala (have developed a bit in C# and learning it at school).
I'm trying to get the length of a string with this code:
public static void main(string[] args) {
stdout.printf((string)"Hej".length);
}
And it builds fine, but gives me a Segmentation Error (Core dumped).
Can anybody help me to make this work correctly?
// Kris Thomsen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]