HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

String character => Integer conversion

09-01-2003, 08:59 PM#1
Magos
String character => Integer conversion

Is this possible in a fast way? I thought of using some kind of ASCII table,
then traverse it to look for the character but that will take some time
(if many conversions are done).
Is there a faster method?


EDIT: Oh, and by this conversion I mean for example: 'A' => 65
09-01-2003, 10:02 PM#2
Starcraftfreak
I can't think of something else in WC3.
But you should have posted that into the function pack thread. I mean, it's not wrong to post it here, but there are more people looking for function development.

If you want to I can do that function. But I'll wait for your response.
09-02-2003, 03:40 PM#3
Magos
Not for my sake, I can make it myself. If you meant for that other thread you can do it if you like.
09-02-2003, 09:05 PM#4
Starcraftfreak
OK, do it, and post it into the other thread. dataangel is working on a site for functions. All functions, that are posted into that thread, will also be added to that site (when it's done).