securityKeyNum Function

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


int securityKeyNum(str keyname)

Parameter

Description

keyname

The name of the security key to validate.

The value of the specified security key 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.

{
    int i;
    ;
    i = securityKeyNum(Admin);
    print "Value for Admin security key is " + int2Str(i);
    pause;
}

Community Additions

ADD
Show: