SysLib.getProperty function

SysLib.getProperty returns the value of a Java™ runtime setting.

Package

eglx.lang

Syntax
static function getProperty(propertyName string in) returns(string?);
propertyName
Specifies the name of a property in a Java program properties file. Input can be any variable or expression that is assignment compatible with the STRING type.

The function returns the property value from a Java properties file. If the specified property is not found, sysLib.getProperty calls the java.lang.System.getProperty method to request the Java system property with the given name. If the property is still not found, sysLib.getProperty returns a null.

Example use

Here is example code:

traceType STRING? = sysLib.getProperty("egl.trace.type");
Comments


Compatibility

Table 1. Compatibility
Target Issue
Java No issues.
JavaScript SysLib.getProperty is not supported.