Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 3 Tools : @PRESENTATIONENV

@PRESENTATIONENV
Returns the name of the presentation environment for the current session. (F)
Invocation
environment = @PRESENTATIONENV
 
Possible values are TEXT (if the rule is executing from the workbench) and NONE (if the rule is executing in batch).
Example
The following rule returns the value of the presentation environment for the session and returns the value to the end message:

 
RULE EDITOR ===> SCROLL: P
PRESENT_1;
_ LOCAL ENVIRONMENT;
 _ ------------------------------------------------------------+--------------
_ ------------------------------------------------------------+--------------
_ ENVIRONMENT = @PRESENTATIONENV; | 1
_ CALL ENDMSG('THE PRESENTATION ENVIRONMENT IS ' || | 2
_ ENVIRONMENT); |
_ ---------------------------------------------------------------------------

 
The following message is returned, if the presentation environment is the workbench:
THE PRESENTATION ENVIRONMENT IS TEXT

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved