anchor.diff:          undefined ->
               State;
           _ ->
  -            return_error(Name, io_lib:format("The value of ~p must be true or false",
  -                                             [Name]), State)
  +            return_error(Name, "The value must be true or false", State)
       end.
   
   validate_dir(Name, {OutList, _, _} = State) ->
  
positive.code:                 true ->
                      return_value(Name, Int, State);
                  false ->
                      return_error(Name, io_lib:format("The value of ~p must be integer",
                                                       [Name]), State)
              end
      end.
  
  validate_range(Name, Min, Max, State) ->
      ErrorFun = fun (NameArg, MinArg, MaxArg) ->
                         io_lib:format("The value of ~p must be in range from ~p to ~p",
                                       [NameArg, MinArg, MaxArg])
                 end,
      validate_range(Name, Min, Max, ErrorFun, State).
  
  
negative.code:                 true ->
                      return_value(Name, Value, State);
                  false ->
                      return_error(Name, "The value must be a valid directory", State)
              end
      end.
  
  