StringToInt
Revision as of 02:13, 10 March 2008 by imported>Speedo (New page: {{Beta}} A command for Pluggy. '''Syntax:''' (Result:long) StringToInt StringID:long Converts a string into a integer variable. If th...)
Beta Function
This function has not been fully tested yet, and is not ready to be used in a released mod. It may not have the same function in later versions, may require the script to be recompiled, or simply may be removed. Use for testing purposes only until the author of the function says otherwise.
A command for Pluggy.
Syntax:
(Result:long) StringToInt StringID:long
Converts a string into a integer variable. If the string does not contain a properly formatted int, it will return 0.
- You may specify a hexadecimal number in the string, but it must be preceded with "0x". For example, the string "0x4B" would return the value 75.