Re: [Vala] Genie and extra '\n' in some strings
- From: Piotr Borkowski <rezyder gmail com>
- To: Steven Oliver <oliver steven gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Genie and extra '\n' in some strings
- Date: Fri, 6 Jan 2012 16:10:32 +0100
Since Genie imitates Python perhaps it does it because Python does it in
most cases. See this page:
http://docs.python.org/reference/simple_stmts.html#print
Yes, you're right, Steven.
I replaced the 'print' expression with 'stdout.printf' and now C
programs are identical.
So, it looks like, that the 'print' is treated differently by Genie,
more Python-like.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]