Re: [Vala] Proper Syntax for Array of Nullable Strings




Subject: Re: [Vala] Proper Syntax for Array of Nullable Strings
From: zarevucky jiri gmail com
To: tecywiz121 hotmail com
CC: vala-list gnome org
Date: Wed, 20 Jan 2010 23:08:19 +0100

tecywiz121 píše v St 20. 01. 2010 v 16:49 -0500:
I am just wondering if it is possible to have an array of nullable
strings, and if so, what is the proper syntax?

Sam


I believe array of class type can always contain nulls. Or am I
mistaken? 

Doesn't that defeat the purpose of having non-nullable types by default?

Hi,
 
2010/1/20 tecywiz121 <tecywiz121 hotmail com>:
I am just wondering if it is possible to have an array of nullable
strings, and if so, what is the proper syntax?
 
I think it is : string?[]
 
HTH,
AbderrahimWhat about for value types, like float?
                                          


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]