Re: [Vala] char variables problem
- From: Sandino Flores Moreno <tigrux gmail com>
- To: Navdeep Singh Sidhu <navdeepsinghsidhu gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] char variables problem
- Date: Thu, 2 Dec 2010 14:51:10 -0600
It works fine in 0.10.0, shipped with ubuntu 10.10.
On Thu, Dec 2, 2010 at 4:21 AM, Navdeep Singh Sidhu
<navdeepsinghsidhu 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]