Components Environment Constants
The RPCL library defines several constants which can be useful when printing RPCL-related strings from your components:
Versions
The folowing version constants can be used to make components compliant with diferent RPCL versions.
RPCL_VERSION
- Running RPCL version (
"5.0"
).
RPCL_VERSION_MAJOR
- Running RPCL major version number (
5
).
RPCL_VERSION_MINOR
- Running RPCL minor version number (
0
).
Paths
The following path constants allow you to make your components more portable.
RPCL_FS_PATH
- Filesystem path to the RPCL base folder.
RPCL_HTTP_PATH
- Server path to the RPCL base folder.