| Thread Tools | Search this thread |
|---|
brunocalado
| July 3, 2009 5:30 PM PDT External Procedure | ||||
I saw something really interesting on qsort sample. It is possible to define and pass as argument a procedure which is defined outside the qsort procedure. Dow do I do this? PROGRAM USE IFPORT integer(2), external :: cmp_function CALL QSORT(A, size, 4, cmp_function) END PROGRAM integer(4) function cmp_function(a1, a2) integer(4) a1, a2 cmp_function=a2-a1 end function | |||||
|
|||||||||||||
|
|||||||||||||
|
|||||||||||||
| 8472 users have contributed to 31603 threads and 100652 posts to date. |
|---|
| In the past 24 hours, we have 31 new thread(s) 115 new posts(s), and 163 new user(s). In the past 3 days, the most popular thread for everyone has been gemm(A,A,A) like possible? The most posts were made to gemm(A,A,A) like possible? The post with the most views is Dear Steve, excuse me for a d Please welcome our newest member Edwin B. Ramayya |