HexToInteger (String function): Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
||
Line 16: | Line 16: | ||
==Usage Notes== | ==Usage Notes== | ||
<ul><li><var>HexToInteger</var> is available as of <var class="product">[[Sirius Mods| | <ul><li><var>HexToInteger</var> is available as of <var class="product">[[Sirius Mods|Sirius Mods]]</var> version 7.5.</ul> | ||
==See also== | ==See also== | ||
{{Template:String:HexToInteger footer}} | {{Template:String:HexToInteger footer}} |
Revision as of 17:46, 4 May 2011
Convert a hexadecimal string to an integer (String class)
[Introduced in Sirius Mods 7.5]
HexToInteger is an intrinsic function that returns the integer value of a hex-encoded string.
Syntax
%number = string:HexToInteger[( [Signed= boolean])] Throws InvalidHexData
Syntax terms
%number | A numeric variable to receive the integer value of the method object string. |
---|---|
string | A hex-encoded string value that contains an even number of characters. |
Signed | This is an optional, but NameRequired, argument and is a boolean enumeration value that indicates whether the method object string is converted to a signed integer.
|
Usage Notes
- HexToInteger is available as of Sirius Mods version 7.5.