webStaticFileStr Function

Validates that the specified web static file exists in the AOT; if not, a compiler error occurs.


str webStaticFileStr(str pagename)

Parameter

Description

pagename

The name of the web static file to validate.

The name of the specified web static file 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 = webStaticFileStr(AXEP);
    print "string for web static file AXEP is " + s;
    pause;
}

Community Additions

ADD
Show: