configurationKeyStr Function

Retrieves the name of a configuration key as a string.


str configurationKeyStr(str keyname)

Parameter

Description

keyname

The name of the configuration key.

The name of the configuration key.

Use this function instead of literal text to retrieve a string that contains the configuration key name. If the key does not exist, the function generates a syntax error at compile time.

static void configurationKeyStrExample(Args _args)
{
    str s;
    ;
    s = configurationKeyStr(AIF);
    print s;
    pause;
}

Community Additions

ADD
Show: