Difference: 0LASubrEnvGetEnvVariable (1 vs. 2)

Revision 22012-01-27 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="APPXRuntimeSubroutineAPI"

.ENV GET ENV VARIABLE

Line: 15 to 15
 

Description:

Changed:
<
<
This subroutine returns the the value of an environment variable. All parameters are required, if any are missing the subroutine will CANCEL.
>
>
This subroutine returns the value of an environment variable. All parameters are required, if any are missing the subroutine will CANCEL.
  <env_value> will contain the value of the environment variable, if it found (Required). This must be PASSed with Share "Y" to return the value.

Revision 12012-01-25 - JeanNeron

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="APPXRuntimeSubroutineAPI"

.ENV GET ENV VARIABLE

This subroutine returns the value of a environment variable.


Usage:

      PASS         <env_value>                FIELD            SHARE? Y
      PASS         <env_name>                 FIELD            SHARE? N
      GOSUB    --- .ENV GET ENV VARIABLE
      *        Check for errors
      IF       --- .ENV GET ENV VARIABLE      NE

Description:

This subroutine returns the the value of an environment variable. All parameters are required, if any are missing the subroutine will CANCEL.

<env_value> will contain the value of the environment variable, if it found (Required). This must be PASSed with Share "Y" to return the value.

<env_name> is the name of the environment variable for which you want the value (Required).

If the field you passed is too short to contain the data, --- .ENV GET ENV VARIABLE will be set to "Data was truncated".

Comments:

Read what other users have said about this page or add your own comments.


<--/commentPlugin-->

-- JeanNeron - 2012-01-25

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback