At 05:25 PM 3/2/2009, Dennis McGrath wrote:

What is the best way for an application to test whether it
is running compiled?

Here's how:

Use the following GETPROPERTY command:

-- Example:

GETPROPERTY APPLICATION ISCOMPILED 'IsCompiled'
RETURN

The resulting variable "IsCompiled" will return a variable
value to find out if the running application is using the
actual full version of R:BASE for Windows, or is a compiled
application.

The resulting TEXT variable value will be YES or NO.

Subsequently, you may use the following GETPROPERTY command
for Runtime version of R:BASE

-- Example

GETPROPERTY APPLICATION ISRUNTIME 'IsRuntime'
RETURN

That's all there is to it!

Very Best R:egards,

Razzak.


Reply via email to