Command Reference : Programming Language Reference
  
 
endsub
Mark the end of a subroutine.
Syntax
subroutine name(arguments)
commands
endsub
Cross-references
See “Defining Subroutines”. See also, subroutine, return.
 
@env
Syntax: @env(str)
Argument: string, str
Return: string
Returns a string containing the value of the Windows environment variable given by str. For a list of common Windows environment variables, see:
http://en.wikipedia.org/wiki/Environment_variable#Examples_from_Microsoft_Windows
or:
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds_shelloverview.mspx?mfr=true
Examples
@env("username")
returns the user-name of the current logged in user.
@env("computername")
returns the name of the computer.
@env("userpath")
returns the location of the current logged in user’s user-folder on disk.