Call an object method: Difference between revisions
Content added Content deleted
(added Fortran) |
|||
Line 244: | Line 244: | ||
!static call |
!static call |
||
call mytype_object%method1() ! call method1 defined as subroutine |
call mytype_object%method1() ! call method1 defined as subroutine |
||
!instance? |
|||
mytype_object%method2() ! call method2 defined as function |
mytype_object%method2() ! call method2 defined as function |
||