It works fine in 0.10.0, shipped with ubuntu 10.10.

On Thu, Dec 2, 2010 at 4:21 AM, Navdeep Singh Sidhu
<navdeepsinghsi...@gmail.com> wrote:
> What vala version are you using?
>
> It compiles and runs fine on my machine.
> Valac 0.11.2
> Ubuntu 10.10
> GCC 4.4.5/
>
> Navi
>
> -------------
>
> On 02/12/10 23:06, Sepehr Aryani wrote:
>> Hi guys.
>> what is the problem with this code?
>>
>> public void main(){
>>     char  ch1 = 'a';
>>     char? ch2 = 'b';
>>
>>
>>     stdout.printf("%c\n", ch1);
>>     stdout.printf("%c\n", ch2);
>>     stdout.printf("%s\n", ch1.to_string());
>>     stdout.printf("%s\n", ch2.to_string());
>> }
>>
>> when I assign a value to ch1 and ch2, they remain empty and nothing is
>> printed in output.
>> Why.......
>>
>>
>>
>>
>> _______________________________________________
>> vala-list mailing list
>> vala-list@gnome.org
>> http://mail.gnome.org/mailman/listinfo/vala-list
>
>
> --
> Navdeep Singh Sidhu
> [navdeepsinghsidhu <at> gmail.com]
> _______________________________________________
> vala-list mailing list
> vala-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/vala-list
>
_______________________________________________
vala-list mailing list
vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to