CharToInt

From Dragon Age Toolset Wiki
Revision as of 17:32, 1 March 2010 by BryanDerksen (Talk | contribs) (looks okay, removing tag)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Converts a character to an integer value.

int CharToInt(
string sString
);
Parameters:
sString
The string character to convert
Returns:

Returns the integer value of the character in the string.

Source:

script.ldf

Description

Returns the ascii value of the first character in the string string.

Remarks

If a string with more than one character is passed in, the function will only convert the first character in the string.


See also

IntToChar