FANDOM


DescriptionEdit

Enumeration used in the DXScript class for determining the success of a function. The enumeration is defined as follows:

enum eScriptReturns

{
    SCRIPT_OK = 0,
    SCRIPT_INVALID_STRING = -1,
    SCRIPT_NULL_POINTER = -2,
    SCRIPT_IDENTIFIER_ALREADY_EXISTS = -3
};

MembersEdit

Name Description
SCRIPT_OK No errors occured in the function.
SCRIPT_INVALID_STRING Length of a supplied string (usually a parameter) is less than the value specified in the function,
SCRIPT_NULL_POINTER A null pointer has been supplied, or memory could not be allocated.
SCRIPT_IDENTIFIER_ALREADY_EXISTS The identifier provided for storing data in an std::map already exists. In this case, you must select another.