maxInt Function

Retrieves the maximum signed value that can be stored in an int type.


int maxInt()

The maximum value allowed value of an integer.

Any other integer will be less than or equal to the returned value.

static void maxIntExample(Args _arg)
{
    int i;
    ;
    print "The maximum value for type int is " + int2Str(maxInt());
    pause;
}

Community Additions

ADD
Show: