Convert string to single number [Resolved]
Posted: Thu Aug 26, 2010 10:26 am
Hi at all
I want use compiler condition, because i have the same PBI, one time for a DLL and one time for an EXE
The problem is that in this PBI i have a "END"
And "END" not can be in a DLL
So i use CompilerSelect for exit with END if it's an EXE, and other way for a DLL.
Compiler condition need only numerical value, and me i want use string value
So i have the idea to convert the sentence i want to use, to numerical
At your mind, what is the more simple way for convert a sentence to the smaller number. :roll:
I can convert letter by ASCII value, but the result is surely too long
This number must be single for not have two sentence for the same number
Thanks and good day

I want use compiler condition, because i have the same PBI, one time for a DLL and one time for an EXE
The problem is that in this PBI i have a "END"
And "END" not can be in a DLL

So i use CompilerSelect for exit with END if it's an EXE, and other way for a DLL.
Compiler condition need only numerical value, and me i want use string value
So i have the idea to convert the sentence i want to use, to numerical

At your mind, what is the more simple way for convert a sentence to the smaller number. :roll:
I can convert letter by ASCII value, but the result is surely too long

This number must be single for not have two sentence for the same number

Thanks and good day