getPrefix Function

Retrieves the current execution prefix by successive calls to the setPrefix function.


str getPrefix()

The current execution prefix.

The prefix mechanism makes it more straightforward to write precise error messages about the transactions performed by an application.

static void getPrefixExample(Args _arg)
{
    ;
    setPrefix("Prefix");
    setPrefix("Another prefix");
    print getPrefix();
    pause;
}

Community Additions

ADD
Show: