1
subroutine intex7f(fname)
3
C --------------------------------------------
5
logical getrhsvar,scistring
6
logical checklhs,checkrhs
7
common/ ierfeval / iero
9
if(.not.checkrhs(fname,2,2)) return
10
if(.not.checklhs(fname,1,1)) return
13
if (.not.getrhsvar(1,'d',m1,n1,l1)) return
15
if (.not.getrhsvar(2,'d',m2,n2,l2)) return
17
c To call a function it is required that its input arguments are
18
c stored in the last positions of the variables stack (it is the
19
c ase here. NOTE that when
20
c called, the function destroys its input variables and replaces them by
21
c the output variables.
23
c Here function takes variables 1 and 2 as inputs and generates output
24
c variables at positions 1.
26
c ibegin must be the index of the first input variable of a_function
29
c execute the disp function
32
if(.not.scistring(ibegin,'disp',mlhs,mrhs)) return
34
c check if an error has occured while running a_function
37
c Note that disp, as every function which has nothing to return,
38
c creates as output a variable with special type 0.
42
c select index of variables to return