webletItemStr Function

Validates that the specified weblet item exists in the AOT; if not, a compiler error occurs.


str webletItemStr(class webletitem)

Parameter

Description

webletitem

The name of the weblet item to validate.

The name of the specified weblet item if valid.

This function is an intrinsic function, which is a metadata assertion function. Intrinsic 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.

{
    str s;
    ;
    s = webletItemStr(WebFormWeblet);
    print "String for WebFormWeblet is " + s;
    pause;
}

Community Additions

ADD
Show: