Difference between revisions of "CharToInt"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: Importing auto-generated function articles)
m (looks okay, removing tag)
 
Line 1: Line 1:
{{Generated}}
 
 
{{dafunction
 
{{dafunction
 
|name=CharToInt
 
|name=CharToInt

Latest revision as of 17:32, 1 March 2010

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