Examples: GetEnvironmentValue method
- This script gets the value of a numeric environment variable called
ENVNum and puts it into latestNumber. For example, GetEnvironmentValue
returns 75.
Dim session As New NotesSession
Dim latestNumber As Integer
latestNumber = session.GetEnvironmentValue( "ENVNum" )
- This script gets the value of the system environment variable
Timezone. For example, GetEnvironmentValue returns 5 if the notes.ini
(or Notes® Preferences) file
contains the line Timezone = 5.
Dim session As New NotesSession
Dim zoneNumber As Integer
zoneNumber = session.GetEnvironmentValue("Timezone", True)
Have feedback?
Google Analytics is used to store comments and ratings. To provide a comment or rating for a topic, click Accept All Cookies or Allow All in Cookie Preferences in the footer of this page.