*     ************************************************************************

      logical function gxba(xstat)

*     ************************************************************************

*     Purpose :
*     ---------

*     This function checks if the status XSTAT corresponds to the
*     status of a basic variable.

*     Parameters :
*     ------------

*     xstat   ( int )

*       input  : the status of the considered variable.
*       output : unmodified.

*     gxba    ( log )

*       input  : meaningless.
*       output : .true.  iff the status XSTAT corresponds to
*                        the status of a basic variable.
*                .false. otherwise.

*     Routines used :
*     ---------------

*     None.

*     Programming :
*     -------------

*     D. Tuyttens

*     ========================================================================

*     Routine parameter

      integer    xstat

      gxba =  mod(xstat,8).eq.0

      return
      end