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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Sleort

    Question on passing arrays/ array indexes to subroutines

    Okay, I think I'm about to get a grip of the situation. Smart module solution, by the way, but not really useful in my situation (unless it's possible to make kind of an "object module"... hmm... I could maybe make a new datatype containing both the array and the index information, although I'm...
  2. Sleort

    Question on passing arrays/ array indexes to subroutines

    So, to summarize: One can "cheat" and use either ALLOCATABLE or POINTER arrays to pass indexing information to the subroutine, but at the "cost" of having to explicitly specify (both in subroutine and main program) that the array is ALLOCATABLE/POINTER? (Making the subroutine less flexible) But...
  3. Sleort

    Question on passing arrays/ array indexes to subroutines

    Glad to be "of help":-P ... And please let me know if you find out anything. That might (maybe) answer some of my questions...
  4. Sleort

    Question on passing arrays/ array indexes to subroutines

    Hi, I'm using (and at the same time trying to master) Fortran 95... Okay, suppose that I have an array, INTEGER, DIMENSION(-5:5) :: arr and I want to pass this to a subroutine WHILE keeping the "non-default" indexing (because the indexing contains important information). The ususal...

Part and Inventory Search

Back
Top