anchor.diff:  :#                  - Supports strings including special characters & and |   #
   :#                                                                            #
   :#  History                                                                   #
  +:#   2021-09-15 JFL Added the missing %UPVAR% instructions.                   #
   :#                                                                            #
   :#----------------------------------------------------------------------------#
   
  
positive.code: %POPARG%
  if not defined "ARG" goto :call_all_cmds.done_args
  set /a NCMDS+=1
  call :ConvertEntities ARG
  %IF_XDLEVEL% 2 set ARG | findstr ARG=
  set "CMD[%NCMDS%]=!ARG!"
  goto :call_all_cmds.next_arg
  
negative.code:     for %%v in (%!%DEBUG.RETVARS%!%) do ( %\n%
        set "DEBUG.VALUE=%'!%%%v%'!%" %# We must remove problematic characters in that value #% %\n%
        if defined DEBUG.VALUE ( %# Else the following lines will generate phantom characters #% %\n%
  	set "DEBUG.VALUE=%'!%DEBUG.VALUE:%%=%%@percnt%%%'!%"	%# Encode percent #% %\n%
  	for %%e in (sp tab cr lf quot amp vert lt gt) do for %%c in ("%'!%@%%e%'!%") do ( %# Encode named character entities #% %\n%
  	  set "DEBUG.VALUE=%'!%DEBUG.VALUE:%%~c=%%@%%e%%%'!%" %\n%
  	) %\n%
  	set "DEBUG.VALUE=%'!%DEBUG.VALUE:^^=%%@hat%%%'!%"	%# Encode carets #% %\n%
  	call set "DEBUG.VALUE=%%DEBUG.VALUE:%!%=^^^^%%" 		%# Encode exclamation points #% %\n%
  	set "DEBUG.VALUE=%'!%DEBUG.VALUE:^^^^=%%@excl%%%'!%"	%# Encode exclamation points #% %\n%
        ) %\n%
        set DEBUG.SETARGS=%!%DEBUG.SETARGS%!% "%%v=%'!%DEBUG.VALUE%'!%"%\n%
      ) %\n%
      if %!%DEBUG%!%==1 ( %# Build the debug message and display it #% %\n%
        set "DEBUG.MSG=return %'!%DEBUG.EXITCODE%'!%" %\n%
        for /f "delims=" %%v in ("%'!%DEBUG.SETARGS: =%%~l%'!%") do if not %%v=="" ( %# for /f avoids issues with ? and * #% %\n%
  	set "DEBUG.MSG=%'!%DEBUG.MSG%'!% %%@amp%% set %%v" %!% %\n%
        ) %\n%
        call set "DEBUG.MSG=%'!%DEBUG.MSG:%%=%%@excl%%%'!%" %# Change all percent to ! #%  %\n%
        if defined ^^%>%DEBUGOUT ( %# If we use a debugging stream distinct from stdout #% %\n%
  	%LCALL% :Echo.Eval2DebugOut DEBUG.MSG %# Use a helper routine, as delayed redirection does not work #% %\n%
        ) else ( %# Output directly here, which is faster #% %\n%
  