Gets value of registry variable on AutoCAD LT  LTCustomizer21 for AutoCAD LT reference manual

ActiveX
    Function getenv(env As String) As String
C/C++
   int WINAPI LTC_getenv(const wchar_t *env,BSTR *result);

parameter
env:registry variable name
result:value of variable(C/C++ only)

return value
ActiveX:value of variable
C/C++: 1: success0: failure

getenv gets value of registry variable in AutoCAD LT. Registry variableis is optional string which user can input and set up ,and user exchanges them using setenv and getenv in AutoCAD LT (Incase of AutoCAD, uses (setenv)(getenv) at AutoLisp). Value of registry variable is not clear every running of AutoCAD LT.
To input value of registry variable, execute command2(),etc

Example: (Inputs 123 to registry variable test_var.)
command2("_setenv","",True)
command2("test_var","",True)
command2("123","",True)