formStr Function

Returns the name of a form.


str formStr(class form)

Parameter

Description

form

The name of a form.

A string representing the name of the form.

If the form does not exist you will get a syntax error.

The following example assigns the name of the InventDim form to the string a.

static void formStrExample(Args _arg)
{
    str a;
    ;
    a = formStr(InventDim);
    print a;
    pause;
}

Community Additions

ADD
Show: