|
|
#1 |
|
Major Dude
Join Date: Oct 2006
Posts: 1,892
|
Shortening the Asc macro (wiki/Asc)
A very short question, really: I want to get the ascii-number of the first character of a string. so I've taken a look at the Asc macro on the wiki. But I'm wondering if it can be made shorter. Can I use
PHP Code:
Edit: After discussion with Anders, I guess the above is indeed not correct. $R1 is made to point at some allocated memory, which is afterwards not freed. Should be: PHP Code:
Last edited by MSG; 28th November 2007 at 14:36. |
|
|
|
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|