LOTUSSCRIPT/COM/OLE CLASSES
Examples: GetEnvironmentValue method
1. 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" )
2. 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)
See Also
GetEnvironmentValue method
Glossary
Help on Help
Open Full Help Window
Glossary
Help on Help
Open Full Help Window