Returning the value of an environment variableΒΆ

getenv()

Return the value of an environment variable


SYNTAX

getenv(text_expression)

Returns the current value of the operating system environment variable whose name is text_expression.

This function returns an alphanumeric value.


EXAMPLE

!temp ScPath,,a35

+textbox ScPathBox at 25,10 {
     field = tmp.ScPath
     label = "SCULPTOR ENVIRONMENT"
}

     tmp.ScPath = getenv("SCULPTOR")
     display ScPathBox

RELATED TOPICS

putenv()

Environment variables used by Sculptor