|
Page 1 of 1
|
[ 3 posts ] |
|
how to convert a text character to a figure or vice versa
| Author |
Message |
|
Ford Prefect
Senior Roboticist
Joined: Sat Mar 01, 2008 12:52 pm Posts: 936 Location: a small planet in the vicinity of Beteigeuze
|
 how to convert a text character to a figure or vice versa
hi, if you have a text letter like "a", "A", or "Z": how can you get the ASCII integer value of this? e.g. ASCII("a")=97, ASCII("A")=65, ASCII("Z")=90, ASCII("1")=49,
and how can you encode an integer value to a text character? chr(97)="a" a.s.o.
_________________ Ford Prefect
Never purchase release 1.x ! (ancient programmer's wisdom) "Don't argue with idiots. They'll drag you down to their level and then beat you with experience."
|
| Sat Sep 06, 2008 8:50 am |
|
 |
|
Abbeyjean
Rookie
Joined: Thu Jun 26, 2008 11:27 am Posts: 21 Location: Johannesburg, South Africa
|
 Re: how to convert a text character to a figure or vice versa
|
| Sat Sep 06, 2008 12:17 pm |
|
 |
|
Ford Prefect
Senior Roboticist
Joined: Sat Mar 01, 2008 12:52 pm Posts: 936 Location: a small planet in the vicinity of Beteigeuze
|
 Re: how to convert a text character to a figure or vice versa
thx a lot, that's easier than I thought ... 
_________________ Ford Prefect
Never purchase release 1.x ! (ancient programmer's wisdom) "Don't argue with idiots. They'll drag you down to their level and then beat you with experience."
|
| Sat Sep 06, 2008 12:27 pm |
|
|
|
Page 1 of 1
|
[ 3 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 4 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|