Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by FrankMonkey

  1. FrankMonkey

    Polymorphism / Dynamic dispatch? Fortran 90.

    Again, thanks to all. I do appreciate it. Simple yes, but in mikroms solution that single call now becomes two subroutine calls with a full (and large in this application) argument list and a long-as-your-arm select case or if-else structure in the first subroutine called before you even get...
  2. FrankMonkey

    Polymorphism / Dynamic dispatch? Fortran 90.

    This in code/psuedo-code is what I want to do. MODULE JIMMY ! CONTAINS SUBROUTINE ALPHA (identical_dummy_arg_list) ! Does stuff with args END SUBROUTINE ALPHA ! SUBROUTINE BRAVO (identical_dummy_arg_list) ! Does different stuff with args but updates the same args END SUBROUTINE BRAVO ! END...
  3. FrankMonkey

    Polymorphism / Dynamic dispatch? Fortran 90.

    Hello xwb, That's a valiant effort but it doesn't make it. You can see from your main here: call greek(adata, 65) call greek(bdata, 66) You are able to access the two different subroutines using the types 'adata' and 'bdata' to match the type of the called subroutine. However that...
  4. FrankMonkey

    Polymorphism / Dynamic dispatch? Fortran 90.

    Hello all, I need to do the following in Fortran 90. I have two subroutines that perform similar tasks, lets call them subroutine ALPHA and subroutine BRAVO. Lets say they have SAME dummy argument list, same sequence ranks, same kinds to all args. So.. SUBROUTINE...

Part and Inventory Search

Back
Top