CharToInt

From Dragon Age Toolset Wiki
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