Re: [Vala] ascii
- From: "Luis L. Rodríguez Oro" <luisr uci cu>
- To: vala-list gnome org
- Subject: Re: [Vala] ascii
- Date: Tue, 25 Oct 2011 12:32:02 -0400
El 25/10/11 08:52, Rodrigo Esteban Cares Guarda escribió:
Hi,
You can try:
int ascii_value = int.parse("%d".printf('X'));
Replacing X char by your character.
Good luck.
El mar, 25-10-2011 a las 08:10 -0400, "Luis L. Rodríguez Oro" escribió:
How can i get ascii code from a character?
reverse:
int t=65;
var as = (char) t;
print(as.to_string());
Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE ENCUENTRAN INJUSTAMENTE EN PRISIONES
DE LOS EEUU!
http://www.antiterroristas.cu
http://justiciaparaloscinco.wordpress.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]