Tags:
view all tags
---+ .ENV GET ENV VARIABLE _This subroutine returns the value of a environment variable._ <br />%TOC% ---++ Usage: <pre> 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 </pre> ---++ Description: This subroutine returns the value of an environment variable. All parameters are required, if any are missing the subroutine will CANCEL. <env_value> returns 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". To get the value of a client constant, see [[0LASubrClientGetConstant][.CLIENT GET CONSTANT]]. ---++ Comments: _Read what other users have said about this page or add your own comments._ The list of environment variables that can be retrieved is quite long, and can vary by platform, installation, OS, etc. The correct name for each environment variable can be found in the Environment Variable Information screen off the Release Information option in System Administration, and can also be inferred from the Client Preferences pulldown on the client. Note that the variable names for client preferences are prefaced by 'client.pref.' followed by the option title in the Preferences display. Some common uses for this subroutine would include retrieval of the following variables: * APPXPATH * client.clientHome * client.file.separator * client.pref.cachePath * client.pref.dataCachePath * client.pref.printCachePath * client.pref.tokenCachePath * client.pref.windowTitle -- Main.AlKalter - 2012-06-18 %COMMENT% -- Main.JeanNeron - 2012-01-25
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r6
<
r5
<
r4
<
r3
<
r2
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r5 - 2012-06-18
-
AlKalter
Home
Site map
Main web
MedicaidBilling web
Sandbox web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Edit
Attach
Copyright © 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