formStr Function

Retrieves the name of a form.


str formStr(str form) 

Parameter

Description

form

The name of a form.

A string that represents the name of the form.

This function is a compile-time function, which is a metadata assertion function. Compile-time functions take arguments that represent entities in the Application Object Tree (AOT) and validate these arguments at compile time. They have no effect at run time.

The following example prints the name of the InventDim form.

static void formStrExample(Args _arg)
{
    ;

    Global::info(formStr(InventDim));
}
/****Infolog Display
Message (11:04:39 am)
InventDim
****/

Community Additions

ADD
Show: