bradh352
01-23-2001, 11:38 PM
Alright, I've got a string that's put together like this:
"This is a string\x2cI'm proud of it"
which works beautifully...
BTW, 2c is a comma
But if do this:
"This is a string\x2cAnd I'm proud of it"
The A is interpreted as being part of the hexidecimal number. How do you tell it to end a definition of a hexidecimal number so that digits and A-F don't affect it.
Obviously this is just an example of what I'm doing, actually, the hexidecimal number I'm using is non-viewable and I need it to be in the string I'm creating. This string is statically defined in a stucture so that sprintf is not possible to be used.
Thanks
-Brad
[This message has been edited by bradh352 (edited 23 January 2001).]
"This is a string\x2cI'm proud of it"
which works beautifully...
BTW, 2c is a comma
But if do this:
"This is a string\x2cAnd I'm proud of it"
The A is interpreted as being part of the hexidecimal number. How do you tell it to end a definition of a hexidecimal number so that digits and A-F don't affect it.
Obviously this is just an example of what I'm doing, actually, the hexidecimal number I'm using is non-viewable and I need it to be in the string I'm creating. This string is statically defined in a stucture so that sprintf is not possible to be used.
Thanks
-Brad
[This message has been edited by bradh352 (edited 23 January 2001).]