function g = cgn_get ( )

%*****************************************************************************80
%
%% CGN_GET gets the current generator index.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    30 March 2013
%
%  Author:
%
%    John Burkardt
%
%  Parameters:
%
%    Output, integer G, the current generator index.
%
  i = -1;
  g = [];
  g = cgn_memory ( i, g );

  return
end
