class_docstr: Concrete class that implements an interface to Microsoft Visual C++,
  as defined by the CCompiler abstract class.
docstr: Set environment variable 'name' to an MSVC path type value.
  
  This is equivalent to a SET command prior to execution of spawned
  commands.
docstr_tok: ["Set","environment","variable","'name","'","to","an","MSVC","path","type","value",".","This","is","equivalent","to","a","SET","command","prior","to","execution","of","spawned","commands","."]
code: def set_path_env_var(self, name):
      """Set environment variable 'name' to an MSVC path type value.
  
      This is equivalent to a SET command prior to execution of spawned
      commands.
      """
  
      if name == "lib":
          p = self.get_msvc_paths("library")
      else:
          p = self.get_msvc_paths(name)
      if p:
          os.environ[name] = ";".join(p)
  
imports: import sys, os
  from distutils.errors import DistutilsExecError, DistutilsPlatformError, CompileError, LibError, LinkError
  from distutils.ccompiler import CCompiler, gen_lib_options
  from distutils import log
label_desc: Use image node_id 13 for calling the MSVCCompiler obj's underlying member method code with example usage: obj.set_path_env_var(name) without return types