gfortran - Is there any way to call Fortran subroutine from character variable (which holds name of subroutine) instead of name of actual subroutine -


i have fortran subroutine sample. call inside program. looking way call character variable, not call sample() following

program calculate   character(97) :: ii='sample'   call ii() ! call sample subroutine end program  subroutine sample   print 'something' end subroutine sample 


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -