在 2016年11月15日星期二 UTC+8下午4:29:17,Ángel de Vicente写道:
>
> Hi,
>
> 博陈 > writes:
> > The julia code:
> >
> > !f90tojl.f90
> > module m
> > contains
> > integer function five()
> > five = 5
> > end function five
> > end module m
> >
> > The corresponding julia code:
> > #test.jl
> > prin
Hi,
博陈 writes:
> The julia code:
>
> !f90tojl.f90
> module m
> contains
> integer function five()
> five = 5
> end function five
> end module m
>
> The corresponding julia code:
> #test.jl
> println(ccall( (:__m_MOD_five, "f90tojl"), Int, () ))
>
> The test command and the result: (test is the di
The julia code:
!f90tojl.f90
module m
contains
integer function five()
five = 5
end function five
end module m
The corresponding julia code:
#test.jl
println(ccall( (:__m_MOD_five, "f90tojl"), Int, () ))
The test command and the result: (test is the directory, not a command)
➜ te