program test
write(*,*) itoa(9)
pause
contains
function itoa(i)
implicit none
character(16) :: itoa
integer,intent(in) :: i
write(itoa,"(I0)") i
return
end function
end
module test
contains
function itoa(i)
!DEC$ ATTRIBUTES STDCALL,REFERENCE,DLLEXPORT,ALIAS:"itoa"::itoa
implicit none
character(16) :: itoa
integer,intent(in) :: i
write(itoa,"(I0)") i
return
end function
end module
欢迎光临 Fortran Coder (http://bbs.fcode.cn/) | Powered by Discuz! X3.2 |