anchor.diff:  set "INDENT=%INDENT%  "
   goto :eof
   
  -:Debug.Return0 %1=Optional exit code
  -%>DEBUGOUT% echo %INDENT%return !RETVAL!
  -if defined LOGFILE %>>LOGFILE% echo %INDENT%return !RETVAL!
  +:Debug.Return0 %1=Exit code
  +%>DEBUGOUT% echo %INDENT%return %1
  +if defined LOGFILE %>>LOGFILE% echo %INDENT%return %1
   set "INDENT=%INDENT:~0,-2%"
   exit /b %1
  +
  +:Debug.Return# :# %RETURN.ERR% %MACRO.ARGS%
  +setlocal DisableDelayedExpansion
  +%>DEBUGOUT% echo %INDENT%return %RETURN.ERR% ^&:#%MACRO.ARGS%
  +if defined LOGFILE %>>LOGFILE% echo %INDENT%return %RETURN.ERR% ^&:#%MACRO.ARGS%
  +endlocal
  +goto :eof &:# %RETURN.ERR% will be processed in the %DEBUG#% macro.
   
   :# Routine to set the VERBOSE mode, in response to the -v argument.
   :Verbose.Off
  
positive.code: 
  :#----------------------------------------------------------------------------#
  :#                                                                            #
  :#  Function        Exec                                                      #
  :#                                                                            #
  :#  Description     Run a command, logging its output to the log file.        #
  :#                                                                            #
  :#                  In VERBOSE mode, display the command line first.          #
  :#                  In DEBUG mode, display the command line and the exit code.#
  :#                  In NOEXEC mode, display the command line, but don't run it.
  :#                                                                            #
  :#  Arguments       -t          Tee all output to the log file if there's a   #
  :#                              usable tee.exe. Default: Redirect all >> log. #
  :#                              Known limitation: The exit code is always 0.  #
  :#                  %*          The command and its arguments                 #
  :#                              Quote redirection operators. Ex:              #
  :#                              %EXEC% find /I "error" "<"logfile.txt ">"NUL  #
  :#                                                                            #
  :#  Functions       Exec.Init	Initialize Exec routines. Call once at 1st    #
  :#                  Exec.Off	Disable execution of commands		      #
  :#                  Exec.On	Enable execution of commands		      #
  :#                  Do          Always execute a command, logging its output  #
  :#                  Exec	Conditionally execute a command, logging it.  #
  :#                                                                            #
  :#  Macros          %DO%        Always execute a command, logging its output  #
  :#                  %EXEC%      Conditionally execute a command, logging it.  #
  :#                  %ECHO.X%    Echo and log a string, indented, in -X mode.  #
  :#                  %ECHO.XVD%  Echo a string, indented, in -X or -V or -D    #
  :#                              modes; Log it always.                         #
  :#                              Useful to display commands in cases where     #
  :#                              %EXEC% can't be used, like in for ('cmd') ... #
  :#                  %IF_EXEC%   Execute a command if _not_ in NOEXEC mode     #
  :#                  %IF_NOEXEC% Execute a command in NOEXEC mode only         #
  :#                                                                            #
  :#  Variables       %NOEXEC%	Exec mode. 0=Execute commands; 1=Don't. Use   #
  :#                              functions Exec.Off and Exec.On to change it.  #
  
negative.code: :#   2016-09-01 JFL Bug fix: %RETURN% incorrectly returned empty variables.   #
  :#   2016-11-02 JFL Bug fix: Avoid log file redirection failures in recursive #
  :#                  scripts.                                                  #
  :#   2016-11-13 JFL Bug fix: Correctly return special characters & | < > ? *  #
  :#   2016-11-24 JFL Fixed tracing %FUNCTION% arguments with ^ and % chars.    #
  :#                                                                            #
  :#----------------------------------------------------------------------------#
  
  