(ISTAT('ISRUNTIME'))
Use the ISRUNTIME parameter to determine if the end user is accessing R:BASE via a full version or a Runtime version.
If the end user is using Runtime the value returned will be 1. If the end user is using a Full Version then the value returned will be 0.