function s = rng ( seed )

%*****************************************************************************80
%
%% rng() is a placeholder for the MATLAB rng() function.
%
%  Discussion:
%
%    This function is simply a placeholder, or dummy version, of that function.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    13 May 2021
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer SEED: an optional seed for the random number generator.
%
%  Output:
%
%    integer S: the current seed for the random number generator.
%
  if ( nargin < 1 )
    s = 123456789;
  else
    s = seed;
  end

  return
end
