Previous Topic

Next Topic

Book Contents

Book Index

SetEnvironmentVariable - MaxBasic Function

SetEnvironmentVariable(EnvironmentVariable: String, Value: String): Boolean

SetEnvironmentVariable function sets the value of an Environment Variable which may be retrieved using GetEnvironmentVariable.

Environment variables persist within a session and across company logins. Returns the value of an environment variable.

Returns True if successful.

SetEnvironmentVariable function syntax has these named arguments:

Parameter

Description

Environment Variable

Required. The environment variable to be set. Must meet the rules for valid Environment Variable names.

Value

Required. The value to assign.