next up previous contents
Next: API summary Up: User hook for command Previous: Example   Contents


The following subroutines have to be used to declare user's find subroutine:

The calling sequence of the user's find routines must be of the following form:

subroutine userfind(arg,narg,error)
  integer(kind=4),  intent(in)    :: narg       ! Number of arguments
  character(len=*), intent(in)    :: arg(narg)  ! Arguments
  logical,          intent(inout) :: error      ! Logical error flag
subroutine userfix(version,found,error)
  integer(kind=4), intent(in)    :: version  ! The version of the data
  logical,         intent(out)   :: found    ! Selected or not selected?
  logical,         intent(inout) :: error    ! Logical error flag
The name of these subroutines is free.

Gildas manager 2014-07-01